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/seems_reasonable/spring_test.cc b/motors/seems_reasonable/spring_test.cc
index bcc2a8a..d78a80b 100644
--- a/motors/seems_reasonable/spring_test.cc
+++ b/motors/seems_reasonable/spring_test.cc
@@ -2,9 +2,7 @@
#include "gtest/gtest.h"
-namespace motors {
-namespace seems_reasonable {
-namespace testing {
+namespace motors::seems_reasonable::testing {
// Tests that NextGoal always returns the next goal.
TEST(GoalTest, TestNextGoal) {
@@ -30,6 +28,4 @@
EXPECT_NEAR(-2.0 * M_PI + 1.0, PreviousGoal(1.0, 1.0), 1e-6);
}
-} // namespace testing
-} // namespace seems_reasonable
-} // namespace motors
+} // namespace motors::seems_reasonable::testing