Skip to content

Commit

Permalink
chore: dashify symbols in some unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Aug 6, 2024
1 parent 28b96a0 commit 23fe7e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/dbwrapper_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
6 changes: 3 additions & 3 deletions src/test/fs_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 23fe7e2

Please sign in to comment.