Skip to content

Commit b49f0d1

Browse files
committed
Fix test
1 parent 8fa4f1f commit b49f0d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test_io.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,10 @@ TEST_F(IOTest, TestInvalidToml) {
184184
}
185185

186186
try{
187-
ghc::filesystem::path empty_file( ghc::filesystem::path(TESTDIR) / "data" / "temp" / "empty_file");
188-
std::ofstream output(empty_file.string());
187+
ghc::filesystem::path empty_file( ghc::filesystem::path(TESTDIR) / "data" / "temp" / "empty_file.toml");
188+
std::ofstream output_file;
189+
output_file.open(empty_file.string());
190+
output_file.close();
189191
read_point_estimate_from_toml(empty_file);
190192
FAIL();
191193
}

0 commit comments

Comments
 (0)