From afc11065bb151349090d8ae89cb61d1c35bdddae Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Mon, 28 Oct 2024 23:49:50 -0500 Subject: Prepare for new SSO. --- test/test_string.cpp | 4 ++-- test/test_utf8.cpp | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'test') 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}; -- cgit v1.2.3