We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eead6c commit a417cd8Copy full SHA for a417cd8
1 file changed
pkg/sqlutil/sqltest/sqltest.go
@@ -59,7 +59,7 @@ func SkipInMemory(t *testing.T) {
59
// after test completion.
60
func CreateOrReplace(t testing.TB, u url.URL, dbName string, template string) url.URL {
61
require.NotEmpty(t, u.Path, "path missing from database URL")
62
- require.Less(t, len(dbName), 63, "dbName %v too long (%d), max is 63 bytes", dbName, len(dbName))
+ require.LessOrEqual(t, len(dbName), 63, "dbName %v too long (%d), max is 63 bytes", dbName, len(dbName))
63
64
// Cannot drop test database if we are connected to it, so we must connect
65
// to a different one. 'postgres' should be present on all postgres installations
0 commit comments