Skip to content

Commit a417cd8

Browse files
committed
lessorequal
1 parent 6eead6c commit a417cd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/sqlutil/sqltest/sqltest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func SkipInMemory(t *testing.T) {
5959
// after test completion.
6060
func CreateOrReplace(t testing.TB, u url.URL, dbName string, template string) url.URL {
6161
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))
62+
require.LessOrEqual(t, len(dbName), 63, "dbName %v too long (%d), max is 63 bytes", dbName, len(dbName))
6363

6464
// Cannot drop test database if we are connected to it, so we must connect
6565
// to a different one. 'postgres' should be present on all postgres installations

0 commit comments

Comments
 (0)