Skip to content

Commit a73fa89

Browse files
committed
Fixing test failure
1 parent ee3ab2f commit a73fa89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/database/dsn_special_chars_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func TestActualURLParsingFailure(t *testing.T) {
248248
_, err := url.Parse(problematicDSN) //nolint:staticcheck // Intentionally testing invalid URL
249249
require.Error(t, err, "URL parsing should fail with unencoded special characters")
250250
require.Contains(t, err.Error(), "invalid port", "Should fail with invalid port error")
251-
require.Contains(t, err.Error(), ":8jKwouNHdI!u6a", "Should show the problematic port parsing")
251+
require.Contains(t, err.Error(), ":7aBcdeFGhj!r7b", "Should show the problematic port parsing")
252252

253253
t.Logf("Got expected error: %v", err)
254254

0 commit comments

Comments
 (0)