diff options
Diffstat (limited to 'test/src/test-uv-link-source-t.c')
-rw-r--r-- | test/src/test-uv-link-source-t.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/src/test-uv-link-source-t.c b/test/src/test-uv-link-source-t.c index 404543a..3187aaf 100644 --- a/test/src/test-uv-link-source-t.c +++ b/test/src/test-uv-link-source-t.c @@ -38,7 +38,9 @@ static void test_writes() { /* .write() should work */ buf = uv_buf_init("x", 1); - CHECK_EQ(uv_link_write(&source.link, &buf, 1, NULL, source_write_cb), 0, + CHECK_EQ(uv_link_write(&source.link, &source.link, &buf, 1, NULL, + source_write_cb), + 0, "source.link.write() should return 0"); CHECK_EQ(uv_run(loop, UV_RUN_DEFAULT), 0, "uv_run()"); |