From 3196faedaba27ec9db08e063376d241f16256083 Mon Sep 17 00:00:00 2001 From: Eugene Ostroukhov Date: Wed, 28 Dec 2016 15:00:46 -0800 Subject: [PATCH] test: fix Coverity warning in inspector test PR-URL: https://github.com/nodejs/node/pull/10510 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- test/cctest/test_inspector_socket_server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cctest/test_inspector_socket_server.cc b/test/cctest/test_inspector_socket_server.cc index 2bbc3811390fe6..136bf796ae51dc 100644 --- a/test/cctest/test_inspector_socket_server.cc +++ b/test/cctest/test_inspector_socket_server.cc @@ -70,7 +70,7 @@ class Timeout { class InspectorSocketServerTest : public ::testing::Test { protected: void SetUp() override { - uv_loop_init(&loop); + EXPECT_EQ(0, uv_loop_init(&loop)); } void TearDown() override {