From 5a2e28b6d90008090b48f6a254d08b2c392529e5 Mon Sep 17 00:00:00 2001 From: eelke Date: Sun, 9 Sep 2018 14:20:30 +0000 Subject: [PATCH] Fix SqlLexer test (cherry picked from commit da45929b1208cb70384b73acebcb91fce5f6b071) --- tests/pglabtests/tst_SqlLexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pglabtests/tst_SqlLexer.cpp b/tests/pglabtests/tst_SqlLexer.cpp index 421933a..bf7149a 100644 --- a/tests/pglabtests/tst_SqlLexer.cpp +++ b/tests/pglabtests/tst_SqlLexer.cpp @@ -53,7 +53,7 @@ TEST(SqlLexer, lexer_comma_handling) lexer.nextBasicToken(startpos, length, tokentype, out); ASSERT_THAT(startpos, Eq(3)); ASSERT_THAT(length, Eq(1)); - ASSERT_THAT(tokentype, Eq(BasicTokenType::Self)); + ASSERT_THAT(tokentype, Eq(BasicTokenType::Comma)); ASSERT_THAT(out, Eq(QString(","))); lexer.nextBasicToken(startpos, length, tokentype, out);