File: fix-float-serialization-test.patch

package info (click to toggle)
kdeplasma-addons 4%3A6.3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,800 kB
  • sloc: cpp: 15,268; xml: 436; javascript: 178; python: 169; sh: 59; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 939 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/runners/converter/autotests/converterrunnertest.cpp
+++ b/runners/converter/autotests/converterrunnertest.cpp
@@ -94,7 +94,7 @@
     QTest::addColumn<QString>("expectedText");
 
     QTest::newRow("test specific target unit") << QStringLiteral("1m > cm") << QStringLiteral("100 centimeters (cm)");
-    QTest::newRow("test symbols (other than currencies)") << QStringLiteral("1000 µs as year") << QStringLiteral("3.17098E-11 year (y)");
+    QTest::newRow("test symbols (other than currencies)") << QStringLiteral("1000 µs as year") << QStringLiteral("3.17098e-11 year (y)");
     QTest::newRow("test negative value") << QStringLiteral("-4m as cm") << QStringLiteral("-400 centimeters (cm)");
     QTest::newRow("test fractions") << QStringLiteral("6/3m>cm") << QStringLiteral("200 centimeters (cm)");
     QTest::newRow("test case insensitive units") << QStringLiteral("1Liter in ML") << QStringLiteral("1,000 milliliters (ml)");