Skip to content
Snippets Groups Projects
Commit f825a63b authored by Adriaan de Groot's avatar Adriaan de Groot
Browse files

[fsresizer] Fix tests

 - Test used 127% as value; this is now considered an invalid
   percentage (greater than 100%) and yields different values.
parent cf39d312
No related branches found
No related tags found
Loading
......@@ -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"(---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment