Skip to content

Commit

Permalink
[llvm][Support] Fix backtrace match pattern to be consistent with the…
Browse files Browse the repository at this point in the history
… one generated. NFC
  • Loading branch information
darkbuck committed Aug 17, 2023
1 parent def5905 commit a2dbb19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/unittests/Support/SignalsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ TEST(SignalsTest, PrintsSymbolizerMarkup) {
EXPECT_THAT(
Res,
MatchesRegex(".*" TAG_BEGIN
"mmap:0x[0-9a-f]+:0x[0-9a-f]+:load:0:rx:0x[0-9a-f]+" TAG_END
"mmap:0x[0-9a-f]+:0x[0-9a-f]+:load:0:rx:[0-9a-f]+" TAG_END
".*"));
// Backtrace line
EXPECT_THAT(Res, MatchesRegex(".*" TAG_BEGIN "bt:0:0x[0-9a-f]+"
EXPECT_THAT(Res, MatchesRegex(".*" TAG_BEGIN "bt:0:[0-9a-f]+"
".*"));
}

Expand Down

0 comments on commit a2dbb19

Please sign in to comment.