diff options
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"); |