about summary refs log tree commit diff
path: root/absl/strings/match_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/strings/match_test.cc')
-rw-r--r--absl/strings/match_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/strings/match_test.cc b/absl/strings/match_test.cc
index c21e00bf807c..0dca33ae1c87 100644
--- a/absl/strings/match_test.cc
+++ b/absl/strings/match_test.cc
@@ -19,7 +19,7 @@
 namespace {
 
 TEST(MatchTest, StartsWith) {
-  const std::string s1("123" "\0" "456", 7);
+  const std::string s1("123\0abc", 7);
   const absl::string_view a("foobar");
   const absl::string_view b(s1);
   const absl::string_view e;
@@ -36,7 +36,7 @@ TEST(MatchTest, StartsWith) {
 }
 
 TEST(MatchTest, EndsWith) {
-  const std::string s1("123" "\0" "456", 7);
+  const std::string s1("123\0abc", 7);
   const absl::string_view a("foobar");
   const absl::string_view b(s1);
   const absl::string_view e;