[fsresizer] Fix tests
- Test used 127% as value; this is now considered an invalid percentage (greater than 100%) and yields different values.
This commit is contained in:
parent
cf39d312fe
commit
f825a63bfe
@ -105,9 +105,9 @@ atleast: 127 %
|
||||
QVERIFY( !j.m_fsname.isEmpty() );
|
||||
QVERIFY( !j.m_devicename.isEmpty() );
|
||||
QCOMPARE( j.m_size.unit(), ResizeFSJob::RelativeUnit::Absolute );
|
||||
QCOMPARE( j.m_atleast.unit(), ResizeFSJob::RelativeUnit::Percent );
|
||||
QCOMPARE( j.m_atleast.unit(), ResizeFSJob::RelativeUnit::None );
|
||||
QCOMPARE( j.m_size.value(), 72 );
|
||||
QCOMPARE( j.m_atleast.value(), 127 );
|
||||
QCOMPARE( j.m_atleast.value(), 0 );
|
||||
|
||||
// Silly config
|
||||
doc0 = YAML::Load( R"(---
|
||||
|
Loading…
Reference in New Issue
Block a user