Skip to content

Commit 6afaf2f

Browse files
committed
test: use fs namespace in dbwrapper unicodepath test
1 parent ce87d56 commit 6afaf2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/dbwrapper_tests.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,15 +399,15 @@ BOOST_AUTO_TEST_CASE(iterator_string_ordering)
399399

400400
BOOST_AUTO_TEST_CASE(unicodepath)
401401
{
402-
// Attempt to create a database with a utf8 character in the path.
402+
// Attempt to create a database with a UTF8 character in the path.
403403
// On Windows this test will fail if the directory is created using
404-
// the ANSI CreateDirectoryA call and the code page isn't UTF8.
405-
// It will succeed if the created with CreateDirectoryW.
404+
// the ANSI CreateDirectoryA call and the code page isn't UTF8.
405+
// It will succeed if created with CreateDirectoryW.
406406
fs::path ph = GetDataDir() / "test_runner_₿_🏃_20191128_104644";
407407
CDBWrapper dbw(ph, (1 << 20));
408408

409409
fs::path lockPath = ph / "LOCK";
410-
BOOST_CHECK(boost::filesystem::exists(lockPath));
410+
BOOST_CHECK(fs::exists(lockPath));
411411
}
412412

413413

0 commit comments

Comments
 (0)