We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38f590 commit c0b3b7fCopy full SHA for c0b3b7f
test/cstdio_test.cpp
@@ -79,7 +79,7 @@ int cpp_main(int argc, char*[])
79
80
// test narrow characters
81
std::cout << "narrow character tests:\n";
82
- test("narrow_fopen_test");
+ test(fs::unique_path("narrow_fopen_test-%%%%-%%%%.txt"));
83
84
// So that tests are run with known encoding, use Boost UTF-8 codecvt
85
std::locale global_loc = std::locale();
@@ -94,7 +94,8 @@ int cpp_main(int argc, char*[])
94
std::wstring ws(L"wide_fopen_test_");
95
ws.push_back(static_cast< wchar_t >(0x2780));
96
ws.push_back(static_cast< wchar_t >(0x263A));
97
- test(ws);
+ ws.append(L"-%%%%-%%%%.txt");
98
+ test(fs::unique_path(ws));
99
100
return ::boost::report_errors();
101
}
0 commit comments