summaryrefslogtreecommitdiff
path: root/test/test_directory.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-29 23:16:46 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-29 23:16:46 -0500
commit8dcb1de91e15ff7fc66279cd9cd9ad8a70f624e0 (patch)
treec73840b15a074cf37f59bc3b2eff56cde982d74f /test/test_directory.cpp
parent8ce397e8c0a83e49e390de9deb73d588e4931ecf (diff)
u8 string literals
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);