File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,9 +129,9 @@ void TestQgsJsonUtils::testParseJson()
129
129
}
130
130
131
131
// Test empty string: null
132
- QCOMPARE ( QString::fromStdString ( QgsJsonUtils::jsonFromVariant ( QgsJsonUtils::parseJson ( QStringLiteral ( " " ) ) ).dump () ), " null" );
132
+ QCOMPARE ( QString::fromStdString ( QgsJsonUtils::jsonFromVariant ( QgsJsonUtils::parseJson ( QStringLiteral ( " " ) ) ).dump () ), QString ( " null" ) );
133
133
// invalid json -> null
134
- QCOMPARE ( QString::fromStdString ( QgsJsonUtils::jsonFromVariant ( QgsJsonUtils::parseJson ( QStringLiteral ( " invalid json" ) ) ).dump () ), " null" );
134
+ QCOMPARE ( QString::fromStdString ( QgsJsonUtils::jsonFromVariant ( QgsJsonUtils::parseJson ( QStringLiteral ( " invalid json" ) ) ).dump () ), QString ( " null" ) );
135
135
136
136
}
137
137
You can’t perform that action at this time.
0 commit comments