tests: Fix tests

This is an easy fix for the failing test case after commit
64fdd78105.
This commit is contained in:
Martin Kleusberg
2017-01-14 15:13:19 +01:00
parent 64fdd78105
commit 59bf2aeecc

View File

@@ -128,7 +128,7 @@ void TestTable::parseSQL()
QVERIFY(tab.fields().at(0)->type() == "integer");
QVERIFY(tab.fields().at(1)->type() == "text");
QVERIFY(tab.fields().at(2)->type() == "VARCHAR(255)");
QCOMPARE(tab.fields().at(2)->type(), QString("VARCHAR ( 255 )"));
FieldVector pk = tab.primaryKey();
QVERIFY(tab.fields().at(0)->autoIncrement());