diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-05-26 19:59:01 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-05-26 19:59:01 -0400 |
commit | aa6a92fdd3c3e22fee12c4cc9a657034dd5ce184 (patch) | |
tree | 241e4fb7537f2804843dd70e9ae2d81040e52afd /test | |
parent | 48828a62ee235d32c8e53131a55729dea41543ee (diff) | |
download | uv_link_t-aa6a92fdd3c3e22fee12c4cc9a657034dd5ce184.tar.gz |
test: simplify
Diffstat (limited to 'test')
-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()"); |