Skip to content

Commit 297375f

Browse files
fix NoError targeting the wrong err
1 parent c5ce227 commit 297375f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func TestSeverCustomListener(t *testing.T) {
7979
}
8080
time.Sleep(time.Second)
8181
}
82-
require.NoError(t, err)
82+
require.NoError(t, pingErr)
8383

8484
_, err = db.Exec("CREATE TABLE table1 (id int)")
8585
require.NoError(t, err)

0 commit comments

Comments
 (0)