correctly extract check expression from AST

This commit is contained in:
Peinthor Rene
2014-06-11 22:48:43 +02:00
parent 55d8c9f9d8
commit f246ddde1e
2 changed files with 6 additions and 5 deletions

View File

@@ -218,7 +218,7 @@ void TestTable::createTableWithIn()
Table tab = Table::parseSQL(sSQL);
QVERIFY(tab.name() == "not_working");
QVERIFY(tab.fields().at(1)->check() == "value IN ('a', 'b', 'c')");
QVERIFY(tab.fields().at(1)->check() == "value IN ( 'a' , 'b' , 'c' )");
}
QTEST_MAIN(TestTable)