Skip to content

Commit

Permalink
avoid modifying test data
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 1, 2015
1 parent 984f03f commit b847a06
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/src/core/testqgsvectorlayercache.cpp
Expand Up @@ -134,9 +134,7 @@ void TestVectorLayerCache::cleanupTestCase()
QString tmpFileName = it.value();
QString origFileName = it.key();

qDebug() << "Copy " << tmpFileName << " " << origFileName;
QFile( origFileName ).remove();
qDebug() << QFile::copy( tmpFileName, origFileName );
qDebug() << "Remove " << tmpFileName;
QFile::remove( tmpFileName );
}

Expand Down

0 comments on commit b847a06

Please sign in to comment.