Mercurial > hg > orthanc
changeset 6300:bb8c961c37a6 utf8-path
fix unit tests
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 05 Sep 2025 15:28:43 +0200 |
parents | b87d403d1f4d |
children | a933e08efd7f |
files | OrthancFramework/UnitTestsSources/FileStorageTests.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/FileStorageTests.cpp Thu Sep 04 18:19:25 2025 +0200 +++ b/OrthancFramework/UnitTestsSources/FileStorageTests.cpp Fri Sep 05 15:28:43 2025 +0200 @@ -144,7 +144,7 @@ #if !defined(__MINGW32__) // non-ASCII paths are not supported when built with mingw TEST(FilesystemStorage, FileAlreadyExistsUtf8) { - FilesystemStorage s("\xd0\x95UnitTestsStorageFileAlreadyExists"); + FilesystemStorage s(SystemToolbox::PathFromUtf8("\xd0\x95UnitTestsStorageFileAlreadyExists")); s.Clear(); std::vector<uint8_t> data;