Add support for simple empty StringView.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-08-08 11:26:46 +02:00
parent 18c7c3ddcb
commit d8c3fe1436
3 changed files with 10 additions and 0 deletions

View File

@@ -76,4 +76,9 @@ TEST_CASE("Out of scope char* doesn't lose reference", "[Utilities]") {
REQUIRE(strcmp(val.c_str(), "foobar") == 0);
}
TEST_CASE("Get Empty String", "[Utilities]") {
REQUIRE(ArbUt::StringView::Empty() == ""_cnc);
}
#endif