summaryrefslogtreecommitdiff
path: root/src/range/slice_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/range/slice_test.cpp')
-rw-r--r--src/range/slice_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/range/slice_test.cpp b/src/range/slice_test.cpp
index a58cc78..f49b360 100644
--- a/src/range/slice_test.cpp
+++ b/src/range/slice_test.cpp
@@ -23,6 +23,8 @@
#include "../poison.hpp"
+namespace tmwa
+{
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
TEST(slice, slice)
@@ -110,3 +112,4 @@ TEST(slice, cast)
EXPECT_EQ(foos.size(), slice.size());
EXPECT_EQ(&foos.end()[-1], &slice.end()[-1]);
}
+} // namespace tmwa