Move declaration of variables to top

This commit is contained in:
TheAssassin
2018-10-25 00:48:13 +02:00
parent 2dce34daf9
commit e94494ea31

View File

@@ -7,6 +7,10 @@ using namespace boost::filesystem;
namespace AppDirTest {
class AppDirUnitTestsFixture : public ::testing::Test {
public:
path tmpAppDir;
AppDir appDir;
public:
AppDirUnitTestsFixture() :
tmpAppDir(temp_directory_path() / unique_path("linuxdeploy-tests-%%%%-%%%%-%%%%")),
@@ -29,9 +33,6 @@ namespace AppDirTest {
std::cout << relative(itr->path(), tmpAppDir).string() << std::endl;
}
}
path tmpAppDir;
AppDir appDir;
};
TEST_F(AppDirUnitTestsFixture, createBasicStructure) {