We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 748a73a commit a8770b7Copy full SHA for a8770b7
tests/src/core/testqgsjsonutils.cpp
@@ -179,7 +179,7 @@ class TestQgsJsonUtils : public QObject
179
if ( w.first.startsWith( QStringLiteral( "CIRCULARSTRING" ) ) )
180
{
181
QVERIFY( g.asJson( 3 ).startsWith( w.second ) );
182
- QCOMPARE( g.asJsonObject( 3 )["type"], "LineString" );
+ QCOMPARE( QString::fromStdString( g.asJsonObject( 3 )["type"].dump() ), QStringLiteral( R"("LineString")" ) );
183
}
184
else
185
0 commit comments