From 598d27f7f039a52083bf4c52d32cd6c68df1c402 Mon Sep 17 00:00:00 2001 From: MikePopoloski Date: Sat, 9 Mar 2024 11:40:04 -0500 Subject: [PATCH] Fix lexer tests --- tests/unittests/parsing/LexerTests.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unittests/parsing/LexerTests.cpp b/tests/unittests/parsing/LexerTests.cpp index b47857b1b..07723beb2 100644 --- a/tests/unittests/parsing/LexerTests.cpp +++ b/tests/unittests/parsing/LexerTests.cpp @@ -501,7 +501,6 @@ Humpty Dumpty had a great fall.""")"; CHECK(token.toString() == text); CHECK(token.valueText() == R"(Humpty Dumpty sat on a "wall". Humpty Dumpty had a great fall.)"); - CHECK_DIAGNOSTICS_EMPTY; REQUIRE(!diagnostics.empty()); CHECK(diagnostics.back().code == diag::WrongLanguageVersion); }