diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-28 23:49:50 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-28 23:49:50 -0500 |
commit | afc11065bb151349090d8ae89cb61d1c35bdddae (patch) | |
tree | 41a7133a6e143d6333594d899556831b5a914fc1 /test | |
parent | c3cf6df863828798ed8230b0f0966bcf3b2d08dd (diff) |
Prepare for new SSO.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_string.cpp | 4 | ||||
-rw-r--r-- | test/test_utf8.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test/test_string.cpp b/test/test_string.cpp index 61052ef..54e3802 100644 --- a/test/test_string.cpp +++ b/test/test_string.cpp @@ -72,9 +72,9 @@ TEST(FudString, HeapAlloc) TEST(FudString, Reserve) { String testString{}; - ASSERT_TRUE(testString.valid()); + ASSERT_TRUE(testString.utf8Valid()); ASSERT_EQ(testString.reserve(256), FudStatus::Success); - ASSERT_TRUE(testString.valid()); + ASSERT_TRUE(testString.utf8Valid()); } #if 0 diff --git a/test/test_utf8.cpp b/test/test_utf8.cpp index 759c826..5447954 100644 --- a/test/test_utf8.cpp +++ b/test/test_utf8.cpp @@ -167,8 +167,6 @@ TEST(Utf8Test, Utf8MultiByte) EXPECT_EQ(stringBuffer.size(), bufSize); EXPECT_EQ(stringBuffer.size(), sizeof(data)); EXPECT_EQ(stringBuffer.length(), bufSize - 1); - EXPECT_TRUE(stringBuffer.nullTerminated()); - EXPECT_TRUE(stringBuffer.valid()); ASSERT_TRUE(stringBuffer.utf8Valid()); Utf8Iterator utf8Iter{stringBuffer}; |