QSqlError test: Fix isValid()-check for constructed QSqlError.
Change-Id: I4dc1f537226139ceca017cc36abadd2fba4ce35b Reviewed-by: Mark Brand <mabrand@mabrand.nl>
This commit is contained in:
parent
e01343352e
commit
513971eecd
@ -102,7 +102,7 @@ void tst_QSqlError::construction()
|
||||
QCOMPARE(obj1.databaseText(), QString("databasetext"));
|
||||
QCOMPARE(obj1.type(), QSqlError::UnknownError);
|
||||
QCOMPARE(obj1.number(), 123);
|
||||
obj1.isValid();
|
||||
QVERIFY(obj1.isValid());
|
||||
|
||||
QSqlError obj2(obj1);
|
||||
QCOMPARE(obj2.driverText(), obj1.driverText());
|
||||
|
Loading…
Reference in New Issue
Block a user