try fix test under windows

This commit is contained in:
Andrea Sgattoni
2023-11-15 10:26:48 +01:00
parent 7ea0e722d2
commit d75106afa9

View File

@@ -663,6 +663,7 @@ TEST(XpressInterface, Write) {
std::ifstream tmpFile(tmpName);
std::stringstream tmpBuffer;
tmpBuffer << tmpFile.rdbuf();
tmpFile.close();
std::filesystem::remove_all(temporary_working_dir);
EXPECT_EQ(tmpBuffer.str(), R"(NAME newProb