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 Oct 16, 2020
1 parent e075b87 commit b00d6fa
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 b00d6fa

Please sign in to comment.