Skip to content

Commit 6baba4d

Browse files
ckennellycopybara-github
authored andcommitted
Avoid discarding test matchers.
PiperOrigin-RevId: 838904511 Change-Id: I02f3bf3f2c51e4cdb21aa638a4f265f2ef4e2f25
1 parent b653693 commit 6baba4d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

absl/strings/internal/cord_rep_btree_test.cc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,16 +1230,16 @@ TEST(CordRepBtreeTest, Dump) {
12301230

12311231
if (api != 3) {
12321232
// Does not contain contents
1233-
EXPECT_THAT(str, Not(AnyOf((HasSubstr("data = \"Hello world\""),
1234-
HasSubstr("data = \"Hello external\""),
1235-
HasSubstr("data = \"ello w\""),
1236-
HasSubstr("data = \"llo ext\"")))));
1233+
EXPECT_THAT(str, Not(AnyOf(HasSubstr("data = \"Hello world\""),
1234+
HasSubstr("data = \"Hello external\""),
1235+
HasSubstr("data = \"ello w\""),
1236+
HasSubstr("data = \"llo ext\""))));
12371237
} else {
12381238
// Contains contents
1239-
EXPECT_THAT(str, AllOf((HasSubstr("data = \"Hello world\""),
1240-
HasSubstr("data = \"Hello external\""),
1241-
HasSubstr("data = \"ello w\""),
1242-
HasSubstr("data = \"llo ext\""))));
1239+
EXPECT_THAT(str, AllOf(HasSubstr("data = \"Hello world\""),
1240+
HasSubstr("data = \"Hello external\""),
1241+
HasSubstr("data = \"ello w\""),
1242+
HasSubstr("data = \"llo ext\"")));
12431243
}
12441244
}
12451245

0 commit comments

Comments
 (0)