mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-03 02:19:27 -05:00
tests: Fix tests
This is an easy fix for the failing test case after commit
64fdd78105.
This commit is contained in:
@@ -128,7 +128,7 @@ void TestTable::parseSQL()
|
|||||||
|
|
||||||
QVERIFY(tab.fields().at(0)->type() == "integer");
|
QVERIFY(tab.fields().at(0)->type() == "integer");
|
||||||
QVERIFY(tab.fields().at(1)->type() == "text");
|
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();
|
FieldVector pk = tab.primaryKey();
|
||||||
QVERIFY(tab.fields().at(0)->autoIncrement());
|
QVERIFY(tab.fields().at(0)->autoIncrement());
|
||||||
|
|||||||
Reference in New Issue
Block a user