Skip to content

Commit ad019c4

Browse files
committedMay 22, 2019
Remove raw string (not necessary here)
1 parent 2b14dac commit ad019c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/src/gui/testqgsrelationreferencewidget.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,13 +359,13 @@ void TestQgsRelationReferenceWidget::testIdentifyOnMap()
359359
QTimer::singleShot( 300, [&] { loop.quit(); } );
360360
loop.exec();
361361
QgsFeature feature;
362-
mLayer2->getFeatures( QStringLiteral( R"(pk = %1)" ).arg( 11 ) ).nextFeature( feature );
362+
mLayer2->getFeatures( QStringLiteral( "pk = %1" ).arg( 11 ) ).nextFeature( feature );
363363
QVERIFY( feature.isValid() );
364364
QCOMPARE( feature.attribute( QStringLiteral( "pk" ) ).toInt(), 11 );
365365
w.featureIdentified( feature );
366366
QCOMPARE( w.mComboBox->currentData( Qt::DisplayRole ).toInt(), 11 );
367367

368-
mLayer2->getFeatures( QStringLiteral( R"(pk = %1)" ).arg( 10 ) ).nextFeature( feature );
368+
mLayer2->getFeatures( QStringLiteral( "pk = %1" ).arg( 10 ) ).nextFeature( feature );
369369
QVERIFY( feature.isValid() );
370370
QCOMPARE( feature.attribute( QStringLiteral( "pk" ) ).toInt(), 10 );
371371
w.featureIdentified( feature );

0 commit comments

Comments
 (0)
Please sign in to comment.