Skip to content

Commit 9b79d77

Browse files
author
Dylan Ross
committed
chore(sdk): test using utf8 chars
1 parent f9a7a2b commit 9b79d77

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/reader.test.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ TEST(Reader, StreamWithManifest)
2828
std::cout << "Test file path: " << test_file << std::endl;
2929

3030
for (const auto& entry : fs::directory_iterator(test_file.parent_path() )) {
31-
std::cout << entry.path() << std::endl;
31+
std::cout << entry.path().native() << std::endl;
3232
}
3333

34-
3534
// read the new manifest and display the JSON
36-
std::ifstream file_stream(test_file.wstring(), std::ios::binary);
35+
std::ifstream file_stream(test_file.native(), std::ios::binary);
3736
ASSERT_TRUE(file_stream.is_open()) << "Failed to open file: " << test_file;
3837

3938
auto reader = c2pa::Reader("image/jpeg", file_stream);

0 commit comments

Comments
 (0)