chore: dashify symbols in some unit tests

This commit is contained in:
Kittywhiskers Van Gogh 2024-08-06 17:51:10 +00:00
parent 28b96a071d
commit 23fe7e2f07
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD
2 changed files with 4 additions and 4 deletions

View File

@ -404,7 +404,7 @@ BOOST_AUTO_TEST_CASE(unicodepath)
// On Windows this test will fail if the directory is created using
// the ANSI CreateDirectoryA call and the code page isn't UTF8.
// It will succeed if created with CreateDirectoryW.
fs::path ph = m_args.GetDataDirBase() / "test_runner__🏃_20191128_104644";
fs::path ph = m_args.GetDataDirBase() / "test_runner__🏃_20191128_104644";
CDBWrapper dbw(ph, (1 << 20));
fs::path lockPath = ph / "LOCK";

View File

@ -15,8 +15,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_tests__🏃";
fs::path tmpfile2 = tmpfolder / "fs_tests__🏃";
{
fsbridge::ofstream file(tmpfile1);
file << "bitcoin";
@ -70,7 +70,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_tests__🏃");
BOOST_CHECK(p.is_absolute());
BOOST_CHECK_EQUAL(tmpfile1, p);
}