Skip to content

Commit

Permalink
fix build (followup e82015b)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 2, 2021
1 parent e724d6d commit f3e88c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/app/testqgsattributetable.cpp
Expand Up @@ -563,11 +563,11 @@ void TestQgsAttributeTable::testCopySelectedRows()

QgsFeatureList features = clipboard->copyOf();
QCOMPARE( features.count(), 2 );
QCOMPARE( features.at( 0 ).attribute( 0 ), 1 );
QCOMPARE( features.at( 0 ).attribute( "col1" ), 2 );
QCOMPARE( features.at( 0 ).attribute( 0 ), QVariant( 1 ) );
QCOMPARE( features.at( 0 ).attribute( "col1" ), QVariant( 2 ) );
QCOMPARE( features.at( 0 ).attribute( "col2" ), QVariant() );
QCOMPARE( features.at( 1 ).attribute( "pk" ), 2 );
QCOMPARE( features.at( 1 ).attribute( "col1" ), 4 );
QCOMPARE( features.at( 1 ).attribute( "pk" ), QVariant( 2 ) );
QCOMPARE( features.at( 1 ).attribute( "col1" ), QVariant( 4 ) );
QCOMPARE( features.at( 1 ).attribute( 2 ), QVariant() );

QCOMPARE( clipboard->crs().authid(), "EPSG:3111" );
Expand Down

0 comments on commit f3e88c3

Please sign in to comment.