diff --git a/test/addons-napi/test_make_callback_recurse/binding.cc b/test/addons-napi/test_make_callback_recurse/binding.cc index bcf81d14e86e20..bfe9a457d237c8 100644 --- a/test/addons-napi/test_make_callback_recurse/binding.cc +++ b/test/addons-napi/test_make_callback_recurse/binding.cc @@ -41,6 +41,6 @@ napi_value Init(napi_env env, napi_value exports) { return exports; } -} // namespace +} // anonymous namespace NAPI_MODULE(NODE_GYP_MODULE_NAME, Init) diff --git a/test/addons/async-hooks-id/binding.cc b/test/addons/async-hooks-id/binding.cc index f0fbdcfcc72a62..29b185f9f17967 100644 --- a/test/addons/async-hooks-id/binding.cc +++ b/test/addons/async-hooks-id/binding.cc @@ -30,6 +30,6 @@ void Initialize(Local exports) { NODE_SET_METHOD(exports, "emitAsyncInit", EmitAsyncInit); } -} // namespace +} // anonymous namespace NODE_MODULE(NODE_GYP_MODULE_NAME, Initialize) diff --git a/test/addons/async-resource/binding.cc b/test/addons/async-resource/binding.cc index 83629e757dedfc..857d74c2e62206 100644 --- a/test/addons/async-resource/binding.cc +++ b/test/addons/async-resource/binding.cc @@ -109,6 +109,6 @@ void Initialize(Local exports) { NODE_SET_METHOD(exports, "getResource", GetResource); } -} // namespace +} // anonymous namespace NODE_MODULE(NODE_GYP_MODULE_NAME, Initialize) diff --git a/test/addons/callback-scope/binding.cc b/test/addons/callback-scope/binding.cc index 34d452bbb7c710..52ffe8e91f6dce 100644 --- a/test/addons/callback-scope/binding.cc +++ b/test/addons/callback-scope/binding.cc @@ -69,6 +69,6 @@ void Initialize(v8::Local exports) { NODE_SET_METHOD(exports, "testResolveAsync", TestResolveAsync); } -} // namespace +} // anonymous namespace NODE_MODULE(NODE_GYP_MODULE_NAME, Initialize) diff --git a/test/addons/make-callback-recurse/binding.cc b/test/addons/make-callback-recurse/binding.cc index c42166c7455277..d1f9070f8a2a79 100644 --- a/test/addons/make-callback-recurse/binding.cc +++ b/test/addons/make-callback-recurse/binding.cc @@ -26,6 +26,6 @@ void Initialize(Local exports) { NODE_SET_METHOD(exports, "makeCallback", MakeCallback); } -} // namespace +} // anonymous namespace NODE_MODULE(NODE_GYP_MODULE_NAME, Initialize) diff --git a/test/addons/make-callback/binding.cc b/test/addons/make-callback/binding.cc index a5dfe46d773e82..13daf21cff07ae 100644 --- a/test/addons/make-callback/binding.cc +++ b/test/addons/make-callback/binding.cc @@ -34,6 +34,6 @@ void Initialize(v8::Local exports) { NODE_SET_METHOD(exports, "makeCallback", MakeCallback); } -} // namespace +} // anonymous namespace NODE_MODULE(NODE_GYP_MODULE_NAME, Initialize) diff --git a/test/cctest/test_inspector_socket_server.cc b/test/cctest/test_inspector_socket_server.cc index ab74917234eefb..db07077d1dfc03 100644 --- a/test/cctest/test_inspector_socket_server.cc +++ b/test/cctest/test_inspector_socket_server.cc @@ -393,7 +393,7 @@ static const std::string WsHandshakeRequest(const std::string& target_id) { "Sec-WebSocket-Key: aaa==\r\n" "Sec-WebSocket-Version: 13\r\n\r\n"; } -} // namespace +} // anonymous namespace TEST_F(InspectorSocketServerTest, InspectorSessions) {