Skip to content

Commit

Permalink
[include-cleaner] Dont pass llvm::StringRef to gtest APIs
Browse files Browse the repository at this point in the history
Fixes #60884.

(cherry picked from commit 48027f0)
  • Loading branch information
kadircet authored and tstellar committed Mar 10, 2023
1 parent 9a6f0c2 commit 7ceeae3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ TEST(WalkUsed, FilterRefsNotSpelledInMainFile) {
if (RefLoc.isValid()) {
EXPECT_THAT(RefLoc, AllOf(expandedAt(MainFID, Main.point("expand"), &SM),
spelledAt(MainFID, Main.point("spell"), &SM)))
<< T.Main;
<< T.Main.str();
} else {
EXPECT_THAT(Main.points(), testing::IsEmpty());
}
Expand Down

0 comments on commit 7ceeae3

Please sign in to comment.