Nest all namespaces
The compiler supports this now. We can type less going forward.
No functional changes.
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I29d6fa4f9aacc0e381f1a7637294db0392466995
diff --git a/motors/usb/queue_test.cc b/motors/usb/queue_test.cc
index fed54d6..8973a6c 100644
--- a/motors/usb/queue_test.cc
+++ b/motors/usb/queue_test.cc
@@ -2,9 +2,7 @@
#include "gtest/gtest.h"
-namespace frc971 {
-namespace teensy {
-namespace testing {
+namespace frc971::teensy::testing {
TEST(QueueTest, Basic) {
Queue queue(64);
@@ -40,6 +38,4 @@
ASSERT_TRUE(queue.empty());
}
-} // namespace testing
-} // namespace teensy
-} // namespace frc971
+} // namespace frc971::teensy::testing