about summary refs log tree commit diff stats
path: root/test/src/test-uv-link-observer-t.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-uv-link-observer-t.c')
-rw-r--r--test/src/test-uv-link-observer-t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-uv-link-observer-t.c b/test/src/test-uv-link-observer-t.c
index 3edf9ea..eaba1ab 100644
--- a/test/src/test-uv-link-observer-t.c
+++ b/test/src/test-uv-link-observer-t.c
@@ -33,10 +33,10 @@ TEST_IMPL(uv_link_observer_t) {
 
   observer.read_cb = observer_read_cb;
 
-  uv_link_invoke_alloc_cb(&source, 1024, &buf);
+  uv_link_propagate_alloc_cb(&source, 1024, &buf);
 
   buf.base[0] = 'x';
-  uv_link_invoke_read_cb(&source, 1, &buf);
+  uv_link_propagate_read_cb(&source, 1, &buf);
   CHECK_EQ(observer_read_cb_called, 1, "observer.read_cb must be called");
 
   CHECK_EQ(uv_link_observer_close(&observer), 0, "uv_link_observer_close");