Skip to content

Commit

Permalink
fix QCOMPARE
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Dec 21, 2020
1 parent 710bbbe commit 9d7b550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/gui/testqgsexternalresourcewidgetwrapper.cpp
Expand Up @@ -82,8 +82,8 @@ void TestQgsExternalResourceWidgetWrapper::test_setNullValues()
QSignalSpy spy( &ww, &QgsExternalResourceWidgetWrapper::valuesChanged );

ww.updateValues( QStringLiteral( "test" ) );
QCOMPARE( ww.mLineEdit->text(), "test" );
QCOMPARE( ww.mQgsWidget->documentPath(), QStringLiteral( "test" ) );
QCOMPARE( ww.mLineEdit->text(), QStringLiteral( "test" ) );
QCOMPARE( ww.mQgsWidget->documentPath(), QVariant( "test" ) );
QCOMPARE( spy.count(), 1 );

ww.updateValues( QVariant() );
Expand Down

0 comments on commit 9d7b550

Please sign in to comment.