summaryrefslogtreecommitdiff
path: root/deps/uv/test/test-watcher-cross-stop.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/test/test-watcher-cross-stop.c')
-rw-r--r--deps/uv/test/test-watcher-cross-stop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/test/test-watcher-cross-stop.c b/deps/uv/test/test-watcher-cross-stop.c
index bf765cb00c..910ed0fb61 100644
--- a/deps/uv/test/test-watcher-cross-stop.c
+++ b/deps/uv/test/test-watcher-cross-stop.c
@@ -92,10 +92,10 @@ TEST_IMPL(watcher_cross_stop) {
uv_close((uv_handle_t*) &sockets[i], close_cb);
ASSERT(recv_cb_called > 0);
- ASSERT(ARRAY_SIZE(sockets) == send_cb_called);
uv_run(loop, UV_RUN_DEFAULT);
+ ASSERT(ARRAY_SIZE(sockets) == send_cb_called);
ASSERT(ARRAY_SIZE(sockets) == close_cb_called);
MAKE_VALGRIND_HAPPY();