mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 07:07:24 +02:00
21 lines
904 B
Diff
21 lines
904 B
Diff
Patch tests
|
|
---
|
|
tests/JsonCreatorTest.cpp | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/tests/JsonCreatorTest.cpp b/tests/JsonCreatorTest.cpp
|
|
index feb03d5..9042cac 100644
|
|
--- a/tests/JsonCreatorTest.cpp
|
|
+++ b/tests/JsonCreatorTest.cpp
|
|
@@ -100,7 +100,7 @@ void JsonCreatorTest::testSaveSettingsToJSON()
|
|
|
|
output = JsonCreator::saveSettingsToJSON(set, remove);
|
|
QString outString2 = QString::fromLatin1( output ).replace( QLatin1String(" "), QLatin1String("") );
|
|
- QString expected2( QLatin1String( "{\"remove\":[\"setting1\",\"setting2\"],\"set\":{\"setting4\":\"stringvalue\",\"setting5\":\"1998-01-01T00:01:02\",\"setting6\":4}}" ) );
|
|
+ QString expected2( QLatin1String( "{\"remove\":[\"setting1\",\"setting2\"],\"set\":{\"setting4\":\"stringvalue\",\"setting5\":\"1998-01-01T00:01:02.000\",\"setting6\":4}}" ) );
|
|
|
|
QCOMPARE( outString2, expected2 );
|
|
|
|
--
|
|
2.32.0
|
|
|