tests: Fix fs_tests for unknown locales

Fix by removing "L" as suggested by meeDamian in
https://github.com/bitcoin/bitcoin/issues/14948#issuecomment-522355441

Co-Authored-By: bugs@meedamian.com

Github-Pull: #17086
Rebased-From: d48f664
This commit is contained in:
Daki Carnhof 2019-10-09 16:09:43 +02:00 committed by Carnhof Daki
parent 3a7b2a15e3
commit bd9d40dbbd

View file

@ -15,7 +15,7 @@ BOOST_AUTO_TEST_CASE(fsbridge_fstream)
fs::path tmpfolder = GetDataDir(); fs::path tmpfolder = GetDataDir();
// tmpfile1 should be the same as tmpfile2 // tmpfile1 should be the same as tmpfile2
fs::path tmpfile1 = tmpfolder / "fs_tests_₿_🏃"; fs::path tmpfile1 = tmpfolder / "fs_tests_₿_🏃";
fs::path tmpfile2 = tmpfolder / L"fs_tests_₿_🏃"; fs::path tmpfile2 = tmpfolder / "fs_tests_₿_🏃";
{ {
fsbridge::ofstream file(tmpfile1); fsbridge::ofstream file(tmpfile1);
file << "bitcoin"; file << "bitcoin";