Skip to content
Permalink
Browse files

[tests] Fix OSM unit test on Mac

  • Loading branch information
dakcarto committed Oct 16, 2013
1 parent 3b79108 commit 0218f078f2605579821f834740085f1555bcf3fe
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/src/analysis/testopenstreetmap.cpp
@@ -139,8 +139,8 @@ void TestOpenStreetMap::importAndQueries()
// list nodes

QgsOSMNodeIterator nodes = db.listNodes();
QCOMPARE( nodes.next().id(), 11111 );
QCOMPARE( nodes.next().id(), 360769661 );
QCOMPARE( nodes.next().id(), ( qint64 )11111 );
QCOMPARE( nodes.next().id(), ( qint64 )360769661 );
nodes.close();

// query way
@@ -166,7 +166,7 @@ void TestOpenStreetMap::importAndQueries()
// list ways

QgsOSMWayIterator ways = db.listWays();
QCOMPARE( ways.next().id(), 32137532 );
QCOMPARE( ways.next().id(), ( qint64 )32137532 );
QCOMPARE( ways.next().isValid(), false );
ways.close();

0 comments on commit 0218f07

Please sign in to comment.
You can’t perform that action at this time.