tests: namespace cleanup
Change-Id: Ic34a8d5330759db6ff037479dc29dc148095a256
diff --git a/tests/unit-tests/test-socket.cpp b/tests/unit-tests/test-socket.cpp
index 3cde914..9913091 100644
--- a/tests/unit-tests/test-socket.cpp
+++ b/tests/unit-tests/test-socket.cpp
@@ -1,6 +1,6 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
/*
- * Copyright (c) 2012-2023 University of California, Los Angeles
+ * Copyright (c) 2012-2024 University of California, Los Angeles
*
* This file is part of ChronoSync, synchronization library for distributed realtime
* applications for NDN.
@@ -24,8 +24,7 @@
#include <ndn-cxx/util/dummy-client-face.hpp>
-namespace chronosync {
-namespace test {
+namespace chronosync::tests {
using std::string;
@@ -51,7 +50,7 @@
Logic::DEFAULT_NAME,
Logic::DEFAULT_VALIDATOR,
Logic::DEFAULT_SYNC_INTEREST_LIFETIME,
- name::Component::fromEscapedString("override"))
+ name::Component::fromUri("override"))
{
}
@@ -445,5 +444,4 @@
BOOST_AUTO_TEST_SUITE_END()
-} // namespace test
-} // namespace chronosync
+} // namespace chronosync::tests