mirror of
https://github.com/thunderbrewhq/common.git
synced 2026-04-29 21:13:51 +00:00
feat: sync with Whoa implementation
This commit is contained in:
parent
d71c4a16bf
commit
ac4b85990c
8 changed files with 153 additions and 45 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue