postgres-storage
postgres-storage copied to clipboard
Test suite broken
Makes it difficult to validate a PR's correctness if the test suite doesn't work even with unmodified code.
# github.com/yroc92/postgres-storage [github.com/yroc92/postgres-storage.test]
./storage_test.go:19:29: undefined: Options
./storage_test.go:22:45: undefined: Options
./storage_test.go:35:9: cannot use storage (variable of type certmagic.Storage) as type *PostgresStorage in return statement:
need type assertion
./storage_test.go:63:23: not enough arguments in call to storage.Delete
have (string)
want (context.Context, string)
./storage_test.go:64:27: not enough arguments in call to storage.Exists
have (string)
want (context.Context, string)
./storage_test.go:68:27: not enough arguments in call to storage.Store
have (string, []byte)
want (context.Context, string, []byte)
./storage_test.go:72:26: not enough arguments in call to storage.Exists
have (string)
want (context.Context, string)
./storage_test.go:82:23: not enough arguments in call to storage.Delete
have (string)
want (context.Context, string)
./storage_test.go:84:27: not enough arguments in call to storage.Store
have (string, []byte)
want (context.Context, string, []byte)
./storage_test.go:88:34: not enough arguments in call to storage.Stat
have (string)
want (context.Context, string)
./storage_test.go:88:34: too many errors
FAIL github.com/yroc92/postgres-storage [build failed]