Skip to content

Commit a3054ec

Browse files
committed
Fix test for another hash function
1 parent 2444fc0 commit a3054ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schema/naming_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ func TestFormatNameWithStringLongerThan63Characters(t *testing.T) {
193193
ns := NamingStrategy{IdentifierMaxLength: 63}
194194

195195
formattedName := ns.formatName("prefix", "table", "thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString")
196-
if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVer180f2c67" {
196+
if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVerb463f8ff" {
197197
t.Errorf("invalid formatted name generated, got %v", formattedName)
198198
}
199199
}
@@ -202,7 +202,7 @@ func TestFormatNameWithStringLongerThan64Characters(t *testing.T) {
202202
ns := NamingStrategy{IdentifierMaxLength: 64}
203203

204204
formattedName := ns.formatName("prefix", "table", "thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString")
205-
if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVery180f2c67" {
205+
if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryb463f8ff" {
206206
t.Errorf("invalid formatted name generated, got %v", formattedName)
207207
}
208208
}

0 commit comments

Comments
 (0)