diff options
author | Sterling Augustine <saugustine@google.com> | 2020-02-11 12:35:10 -0800 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2020-02-11 12:35:46 -0800 |
commit | 257e412762e36de278ffe1488ba3c6f609111632 (patch) | |
tree | 1871c4966c1bc63cb596af852a0fc3e6355e28c2 /llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | |
parent | 87303fd9171199ac3082e17d4a91304bf82baeea (diff) | |
download | llvm-257e412762e36de278ffe1488ba3c6f609111632.zip llvm-257e412762e36de278ffe1488ba3c6f609111632.tar.gz llvm-257e412762e36de278ffe1488ba3c6f609111632.tar.bz2 |
Update test for windows.
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp index 10a9f95..b0fdabb 100644 --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp @@ -955,13 +955,13 @@ TEST_F(DebugLineBasicFixture, PrintPathsProperly) { 1, CompDir, DILineInfoSpecifier::FileLineInfoKind::RelativeFilePath, Result)); - EXPECT_STREQ(Result.c_str(), "b dir/b file"); + EXPECT_THAT(Result.c_str(), MatchesRegex("b dir.b file")); EXPECT_TRUE((*ExpectedLineTable) ->Prologue.getFileNameByIndex( 1, CompDir, DILineInfoSpecifier::FileLineInfoKind::AbsoluteFilePath, Result)); - EXPECT_STREQ(Result.c_str(), "a dir/b dir/b file"); + EXPECT_THAT(Result.c_str(), MatchesRegex("a dir.b dir.b file")); } } // end anonymous namespace |