Skip to content

Commit d38f590

Browse files
committed
Use unique filename in narrow character fstream test.
1 parent 3b55b7b commit d38f590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fstream_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ int cpp_main(int argc, char*[])
173173

174174
// test narrow characters
175175
std::cout << "narrow character tests:\n";
176-
test("narrow_fstream_test");
176+
test(fs::unique_path("narrow_fstream_test-%%%%-%%%%.txt"));
177177

178178
// So that tests are run with known encoding, use Boost UTF-8 codecvt
179179
std::locale global_loc = std::locale();

0 commit comments

Comments
 (0)