summaryrefslogtreecommitdiff
path: root/deps/uv/test/test-fs-poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/test/test-fs-poll.c')
-rw-r--r--deps/uv/test/test-fs-poll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/uv/test/test-fs-poll.c b/deps/uv/test/test-fs-poll.c
index dbc1515b0b..737d50dfd2 100644
--- a/deps/uv/test/test-fs-poll.c
+++ b/deps/uv/test/test-fs-poll.c
@@ -173,6 +173,7 @@ TEST_IMPL(fs_poll_getpath) {
len = sizeof buf;
ASSERT(0 == uv_fs_poll_getpath(&poll_handle, buf, &len));
ASSERT(buf[len - 1] != 0);
+ ASSERT(buf[len] == '\0');
ASSERT(0 == memcmp(buf, FIXTURE, len));
uv_close((uv_handle_t*) &poll_handle, close_cb);