Add tests for cache internal pkg

This commit is contained in:
Mathieu HANOTAUX
2022-12-04 16:30:27 +01:00
parent 76e5c7497d
commit 15baee5c07
45 changed files with 19670 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package assert
import (
"errors"
)
// AnError is an error instance useful for testing. If the code does not care
// about error specifics, and only needs to return the error for example, this
// error should be used to make the test code more readable.
var AnError = errors.New("assert.AnError general error for testing")