mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 76d44e832f into merged_master (Bitcoin PR bitcoin/bitcoin#24469)
This commit is contained in:
commit
ca3f6da75f
1 changed files with 3 additions and 3 deletions
|
|
@ -46,8 +46,8 @@ BOOST_AUTO_TEST_CASE(fsbridge_fstream)
|
|||
{
|
||||
fs::path tmpfolder = m_args.GetDataDirBase();
|
||||
// tmpfile1 should be the same as tmpfile2
|
||||
fs::path tmpfile1 = tmpfolder / "fs_tests_₿_🏃";
|
||||
fs::path tmpfile2 = tmpfolder / "fs_tests_₿_🏃";
|
||||
fs::path tmpfile1 = tmpfolder / fs::u8path("fs_tests_₿_🏃");
|
||||
fs::path tmpfile2 = tmpfolder / fs::u8path("fs_tests_₿_🏃");
|
||||
{
|
||||
std::ofstream file{tmpfile1};
|
||||
file << "bitcoin";
|
||||
|
|
@ -86,7 +86,7 @@ BOOST_AUTO_TEST_CASE(fsbridge_fstream)
|
|||
}
|
||||
{
|
||||
// Join an absolute path and a relative path.
|
||||
fs::path p = fsbridge::AbsPathJoin(tmpfolder, "fs_tests_₿_🏃");
|
||||
fs::path p = fsbridge::AbsPathJoin(tmpfolder, fs::u8path("fs_tests_₿_🏃"));
|
||||
BOOST_CHECK(p.is_absolute());
|
||||
BOOST_CHECK_EQUAL(tmpfile1, p);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue