aboutsummaryrefslogtreecommitdiff
path: root/src/test/dbwrapper_tests.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-03-18 11:10:20 +0800
committerfanquake <fanquake@gmail.com>2020-03-18 11:10:20 +0800
commit6afaf2f680d8d4b048352e695d3b1f884db22e61 (patch)
tree880559e4bfcad7128d53497d8948d5fdb1325429 /src/test/dbwrapper_tests.cpp
parentce87d5613a5537b68cf23e7bc25c1e3770704ff9 (diff)
downloadbitcoin-6afaf2f680d8d4b048352e695d3b1f884db22e61.tar.xz
test: use fs namespace in dbwrapper unicodepath test
Diffstat (limited to 'src/test/dbwrapper_tests.cpp')
-rw-r--r--src/test/dbwrapper_tests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/dbwrapper_tests.cpp b/src/test/dbwrapper_tests.cpp
index b647c0f70b..3dfae29de6 100644
--- a/src/test/dbwrapper_tests.cpp
+++ b/src/test/dbwrapper_tests.cpp
@@ -399,15 +399,15 @@ BOOST_AUTO_TEST_CASE(iterator_string_ordering)
BOOST_AUTO_TEST_CASE(unicodepath)
{
- // Attempt to create a database with a utf8 character in the path.
+ // Attempt to create a database with a UTF8 character in the path.
// 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 the created with CreateDirectoryW.
+ // the ANSI CreateDirectoryA call and the code page isn't UTF8.
+ // It will succeed if created with CreateDirectoryW.
fs::path ph = GetDataDir() / "test_runner_₿_🏃_20191128_104644";
CDBWrapper dbw(ph, (1 << 20));
fs::path lockPath = ph / "LOCK";
- BOOST_CHECK(boost::filesystem::exists(lockPath));
+ BOOST_CHECK(fs::exists(lockPath));
}