Skip to content

Commit 26bfab4

Browse files
committed
Fixes order.
1 parent d16f0b5 commit 26bfab4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

worker_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ func TestKeepRunningOnConnectionAbort(t *testing.T) {
168168
cancel()
169169
body1, _ := testRequest(req, handler, t)
170170

171-
assert.Equal(t, body1, "requests:1", "should have handled exactly one request")
171+
assert.Equal(t, "requests:1", body1, "should have handled exactly one request")
172172
body2, _ := testGet("http://example.com/worker-with-counter.php", handler, t)
173173

174-
assert.Equal(t, body2, "requests:2", "should not have stopped execution after the first request was aborted")
174+
assert.Equal(t, "requests:2", body2, "should not have stopped execution after the first request was aborted")
175175
}, &testOptions{workerScript: "worker-with-counter.php", nbWorkers: 1, nbParallelRequests: 1})
176176
}

0 commit comments

Comments
 (0)