Skip to content

Commit

Permalink
Test for no nan in dxf
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 30, 2019
1 parent 156e045 commit 32a3106
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/core/testqgsdxfexport.cpp
Expand Up @@ -156,6 +156,8 @@ void TestQgsDxfExport::testPoints()
QCOMPARE( d.writeToFile( &dxfFile, QStringLiteral( "CP1252" ) ), 0 );
dxfFile.close();

QVERIFY( !fileContainsText( file, QStringLiteral( "nan.0" ) ) );

// reload and compare
std::unique_ptr< QgsVectorLayer > result = qgis::make_unique< QgsVectorLayer >( file, "dxf" );
QVERIFY( result->isValid() );
Expand Down

0 comments on commit 32a3106

Please sign in to comment.