Added page with the types (no details yet)

This commit is contained in:
eelke 2021-04-01 14:58:42 +02:00
parent bdef76ed8a
commit 4c175d8c2c
16 changed files with 418 additions and 11 deletions

View file

@ -60,3 +60,14 @@ TEST(ConvertLangToSqlString, testSemiColon)
auto output = ConvertLangToSqlString(in);
ASSERT_EQ(output, expected);
}
TEST(ConvertLangToSqlString, testComment)
{
QString in(R"__( "SELECT * " // comment
"FROM t"; )__");
QString expected(R"__(SELECT *
FROM t)__");
auto output = ConvertLangToSqlString(in);
ASSERT_EQ(output, expected);
}