diff options
-rw-r--r-- | test/src/test-uv-link-source-t.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/src/test-uv-link-source-t.c b/test/src/test-uv-link-source-t.c index 3187aaf..31a0c40 100644 --- a/test/src/test-uv-link-source-t.c +++ b/test/src/test-uv-link-source-t.c @@ -102,8 +102,7 @@ static void test_reads() { TEST_IMPL(uv_link_source_t) { - loop = uv_default_loop(); - CHECK_NE(loop, NULL, "uv_default_loop()"); + CHECK_NE(loop = uv_default_loop(), NULL, "uv_default_loop()"); CHECK_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, fds), 0, "socketpair()"); |