Fix SqlLexer test

This commit is contained in:
eelke 2018-09-09 16:20:30 +02:00
parent 425f4eccbe
commit da45929b12

View file

@ -53,7 +53,7 @@ TEST(SqlLexer, lexer_comma_handling)
lexer.nextBasicToken(startpos, length, tokentype, out); lexer.nextBasicToken(startpos, length, tokentype, out);
ASSERT_THAT(startpos, Eq(3)); ASSERT_THAT(startpos, Eq(3));
ASSERT_THAT(length, Eq(1)); ASSERT_THAT(length, Eq(1));
ASSERT_THAT(tokentype, Eq(BasicTokenType::Self)); ASSERT_THAT(tokentype, Eq(BasicTokenType::Comma));
ASSERT_THAT(out, Eq(QString(","))); ASSERT_THAT(out, Eq(QString(",")));
lexer.nextBasicToken(startpos, length, tokentype, out); lexer.nextBasicToken(startpos, length, tokentype, out);