From 7edbd99775416a32c88acf8e9379518436905f02 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 21 Nov 2020 15:19:45 +0100 Subject: Support gcc 10 and clang 11 --- tests/test-lexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-lexer.cpp') diff --git a/tests/test-lexer.cpp b/tests/test-lexer.cpp index 23983f1..02bce69 100644 --- a/tests/test-lexer.cpp +++ b/tests/test-lexer.cpp @@ -35,5 +35,5 @@ TEST_F(LexerTest, Lex) { std::vector tokens{lexer.Lex("int main() { return 1; }")}; - ASSERT_EQ(tokens.size(), 9); + ASSERT_EQ(tokens.size(), size_t(9)); } -- cgit v1.2.3