diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-05-27 12:16:05 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-05-27 12:16:05 -0400 |
commit | d7de504f56f35ad7b14434cbd972687c7a3d88f1 (patch) | |
tree | ab952daef0c7e9f2728792c806fd6c42b8f341ed /test/src | |
parent | 28facffd6105b2da1699922bf2cbc545aa1cceae (diff) | |
download | uv_link_t-d7de504f56f35ad7b14434cbd972687c7a3d88f1.tar.gz |
api: simplify
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/test-uv-link-source-t.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-uv-link-source-t.c b/test/src/test-uv-link-source-t.c index 99d97d7..ba445a7 100644 --- a/test/src/test-uv-link-source-t.c +++ b/test/src/test-uv-link-source-t.c @@ -40,8 +40,8 @@ static void test_writes() { /* .write() should work */ buf = uv_buf_init("x", 1); - CHECK_EQ(uv_link_write(&source.link, &source.link, &buf, 1, NULL, - source_write_cb, &test_arg), + CHECK_EQ(uv_link_write(&source.link, &buf, 1, NULL, source_write_cb, + &test_arg), 0, "source.link.write() should return 0"); |