Fix the namespace for the pw_status tests
Change-Id: Iec5a3bdc52ccf97da7f46b05c4d4747aa12e4c59
diff --git a/pw_status/status_with_size_test.cc b/pw_status/status_with_size_test.cc
index 7b07992..30ad386 100644
--- a/pw_status/status_with_size_test.cc
+++ b/pw_status/status_with_size_test.cc
@@ -16,11 +16,12 @@
#include "gtest/gtest.h"
-namespace pw::string {
+namespace pw {
namespace {
static_assert(StatusWithSize::max_size() ==
- (static_cast<size_t>(1) << (sizeof(size_t) * 8 - 5)) - 1);
+ (static_cast<size_t>(1) << (sizeof(size_t) * 8 - 5)) - 1,
+ "max_size() should use all but the top 5 bits of a size_t.");
TEST(StatusWithSize, Default) {
StatusWithSize result;
@@ -98,4 +99,4 @@
}
} // namespace
-} // namespace pw::string
+} // namespace pw