mirror of https://github.com/jackc/pgx.git
Fix typo in test function name
parent
02e387ea64
commit
6d9e6a726e
|
@ -49,7 +49,7 @@ func TestContextWatcherContextCancelled(t *testing.T) {
|
||||||
require.True(t, cleanupCalled, "Cleanup func was not called")
|
require.True(t, cleanupCalled, "Cleanup func was not called")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestContextWatcherUnwatchdBeforeContextCancelled(t *testing.T) {
|
func TestContextWatcherUnwatchedBeforeContextCancelled(t *testing.T) {
|
||||||
cw := ctxwatch.NewContextWatcher(&testHandler{
|
cw := ctxwatch.NewContextWatcher(&testHandler{
|
||||||
handleCancel: func(context.Context) {
|
handleCancel: func(context.Context) {
|
||||||
t.Error("cancel func should not have been called")
|
t.Error("cancel func should not have been called")
|
||||||
|
|
Loading…
Reference in New Issue