[libcalamares] Fix tests (cell is the lower unicode byte)

This commit is contained in:
Adriaan de Groot 2020-01-29 16:41:17 +01:00
parent be0831ee11
commit e56948cefa

View File

@ -216,6 +216,8 @@ LibCalamaresTests::testPrintableEntropy()
for ( QChar c : s ) for ( QChar c : s )
{ {
QVERIFY( c.isPrint() ); QVERIFY( c.isPrint() );
QCOMPARE( c.cell(), 0 ); QCOMPARE( c.row(), 0 );
QVERIFY( c.cell() > 32 ); // ASCII SPACE
QVERIFY( c.cell() < 127 );
} }
} }