Skip to content

Commit

Permalink
Tests: fix duplicated data in TestBase::UnitSystem_test_data()
Browse files Browse the repository at this point in the history
  • Loading branch information
HuguesDelorme committed Aug 29, 2023
1 parent 498a6c0 commit de44148
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -932,9 +932,9 @@ void TestBase::UnitSystem_test_data()
QTest::newRow("time(5s)")
<< UnitSystem::milliseconds(5 * Quantity_Second)
<< UnitSystem::TranslateResult{ 5000., "ms", Quantity_Millisecond.value() };
QTest::newRow("time(5s)")
<< UnitSystem::milliseconds(5 * Quantity_Second)
<< UnitSystem::TranslateResult{ 5000., "ms", Quantity_Millisecond.value() };
QTest::newRow("time(2min)")
<< UnitSystem::milliseconds(2 * Quantity_Minute)
<< UnitSystem::TranslateResult{ 2 * 60 * 1000., "ms", Quantity_Millisecond.value() };
}

void TestBase::LibTask_test()
Expand Down

0 comments on commit de44148

Please sign in to comment.