This commit is contained in:
Бранимир Караџић
2022-09-01 22:00:16 -07:00
parent a82b87c46e
commit d1becf7991
3 changed files with 1 additions and 45 deletions

View File

@@ -16,7 +16,7 @@ TEST_CASE("stringPrintfTy", "")
{
std::string test;
bx::stringPrintf(test, "printf into std::string.");
REQUIRE(0 == bx::strCmp(bx::StringView(test), "printf into std::string.") );
REQUIRE(0 == bx::strCmp(bx::StringView(test.data(), int32_t(test.length() ) ), "printf into std::string.") );
}
TEST_CASE("prettify", "")