summaryrefslogtreecommitdiff
path: root/test/test_directory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_directory.cpp')
-rw-r--r--test/test_directory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_directory.cpp b/test/test_directory.cpp
index 58efc13..ba1c0e1 100644
--- a/test/test_directory.cpp
+++ b/test/test_directory.cpp
@@ -59,7 +59,7 @@ TEST(FudDirectory, Basic)
ASSERT_TRUE(fileResult.isOkay());
CBinaryFile file{std::move(fileResult).takeOkay()};
ASSERT_EQ(file.open(), FudStatus::Success);
- Array<utf8, 5> data{"test"};
+ Array<utf8, 5> data{u8"test"};
WriteResult expected{data.size(), FudStatus::Success};
auto writeResult = file.write(data);
ASSERT_EQ(writeResult.bytesWritten, expected.bytesWritten);