feat: sync with Whoa implementation

This commit is contained in:
VDm 2026-04-26 18:19:41 +04:00
parent d71c4a16bf
commit ac4b85990c
8 changed files with 153 additions and 45 deletions

View file

@ -93,7 +93,7 @@ TEST_CASE("CDataStore::Get", "[datastore]") {
msg.GetString(readVal, 3);
REQUIRE(SStrCmp(readVal, "foo", STORM_MAX_STR) == 0);
REQUIRE(msg.m_read == 3);
REQUIRE(msg.Tell() == 3);
}
SECTION("gets string honoring maxchars of 0") {
@ -105,7 +105,7 @@ TEST_CASE("CDataStore::Get", "[datastore]") {
msg.Finalize();
msg.GetString(readVal, 0);
REQUIRE(msg.m_read == 0);
REQUIRE(msg.Tell() == 0);
}
}