Skip to content

Commit ec0792c

Browse files
committed
EXPECT_EQ not working on all platforms
1 parent 548a3e3 commit ec0792c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/PegtlExecutableTests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ TEST(PegtlExecutableCase, InvalidStringEscapeSequence)
156156
using namespace std::literals;
157157

158158
ASSERT_NE(nullptr, e.what());
159-
EXPECT_EQ("InvalidStringEscapeSequence:1:31: parse error matching struct "
160-
"graphql::peg::string_escape_sequence_content"sv,
161-
e.what())
159+
EXPECT_TRUE("InvalidStringEscapeSequence:1:31: parse error matching struct "
160+
"graphql::peg::string_escape_sequence_content"sv
161+
== e.what())
162162
<< "should get an appropriate parser error message";
163163
caughtException = true;
164164
}

0 commit comments

Comments
 (0)