diff options
author | Saturneric <[email protected]> | 2022-03-19 06:09:55 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-03-19 06:09:55 +0000 |
commit | dad03e9ccc57da0a04d058ec418ce0068ce3841d (patch) | |
tree | e3d6bec71f3c070139ef5dfa7cca0cf70acb4dd1 /test/GpgFrontendTest.h | |
parent | <fix>(ui): Fix the problem that the file cannot be signed (diff) | |
download | GpgFrontend-dad03e9ccc57da0a04d058ec418ce0068ce3841d.tar.gz GpgFrontend-dad03e9ccc57da0a04d058ec418ce0068ce3841d.zip |
<fix>(core, ui): Fix path double-byte encoding problem under Windows
Diffstat (limited to '')
-rw-r--r-- | test/GpgFrontendTest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/GpgFrontendTest.h b/test/GpgFrontendTest.h index 15efb650..ebd5e33a 100644 --- a/test/GpgFrontendTest.h +++ b/test/GpgFrontendTest.h @@ -168,8 +168,8 @@ class GpgCoreTest : public ::testing::Test { GpgFrontend::GpgContextInitArgs args; args.gpg_alone = true; args.independent_database = true; - args.db_path = db_path.string(); - args.gpg_path = gpg_path.string(); + args.db_path = db_path.u8string(); + args.gpg_path = gpg_path.u8string(); args.test_mode = true; return std::make_unique<GpgFrontend::GpgContext>(args); }); |