Fix newly added test
This commit is contained in:
parent
322871ddfa
commit
4f0251b267
|
@ -113,7 +113,7 @@ func TestMysqlDNSAddTimeout(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
output, _ := parseDSN(test.input)
|
output, _ := dsnAddTimeout(test.input)
|
||||||
if output != test.output {
|
if output != test.output {
|
||||||
t.Errorf("Expected %s, got %s\n", test.output, output)
|
t.Errorf("Expected %s, got %s\n", test.output, output)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue