diff options
Diffstat (limited to '3rdparty/libuv/test/test-fs-poll.c')
-rw-r--r-- | 3rdparty/libuv/test/test-fs-poll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/libuv/test/test-fs-poll.c b/3rdparty/libuv/test/test-fs-poll.c index dbc1515b0b1..737d50dfd26 100644 --- a/3rdparty/libuv/test/test-fs-poll.c +++ b/3rdparty/libuv/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); |