Skip to content

Commit

Permalink
Update test after API change
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Sep 30, 2024
1 parent bd0fc10 commit fe6b1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittests/parsing/LexerTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ TEST_CASE("Token with lots of trivia") {

trivia = trivia.withLocation(alloc, SourceLocation(BufferID(1, "asdf"), 5));
CHECK(trivia.getRawText() == "/**/");
CHECK(trivia.getExplicitLocation()->offset() == 5);
CHECK(trivia.getExplicitLocation()->offset() == 1);
}

TEST_CASE("Directive trivia location") {
Expand Down

0 comments on commit fe6b1bb

Please sign in to comment.