diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/addons/repl-domain-abort/binding.cc | 2 | ||||
-rw-r--r-- | test/cctest/test_inspector_socket_server.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/addons/repl-domain-abort/binding.cc b/test/addons/repl-domain-abort/binding.cc index d6a825dfdd..1b4dbfa84e 100644 --- a/test/addons/repl-domain-abort/binding.cc +++ b/test/addons/repl-domain-abort/binding.cc @@ -35,7 +35,7 @@ void Method(const FunctionCallbackInfo<Value>& args) { isolate->GetCurrentContext()->Global(), args[0].As<Function>(), 0, - NULL); + nullptr); } void init(Local<Object> exports) { diff --git a/test/cctest/test_inspector_socket_server.cc b/test/cctest/test_inspector_socket_server.cc index 5eff9d706b..ab74917234 100644 --- a/test/cctest/test_inspector_socket_server.cc +++ b/test/cctest/test_inspector_socket_server.cc @@ -313,7 +313,7 @@ class ServerHolder { public: template <typename Delegate> ServerHolder(Delegate* delegate, uv_loop_t* loop, int port) - : ServerHolder(delegate, loop, HOST, port, NULL) { } + : ServerHolder(delegate, loop, HOST, port, nullptr) { } template <typename Delegate> ServerHolder(Delegate* delegate, uv_loop_t* loop, const std::string host, @@ -617,7 +617,7 @@ TEST_F(InspectorSocketServerTest, BindsToIpV6) { return; } TestInspectorServerDelegate delegate; - ServerHolder server(&delegate, &loop, "::", 0, NULL); + ServerHolder server(&delegate, &loop, "::", 0, nullptr); ASSERT_TRUE(server->Start()); SocketWrapper socket1(&loop); |