add test for reading file from given string literal
This commit is contained in:
@@ -260,3 +260,9 @@ TEST_CASE("Split with non-null-terminated strings", "[Utils]")
|
|||||||
result = Utils::Split(input, ',');
|
result = Utils::Split(input, ',');
|
||||||
REQUIRE(result.empty());
|
REQUIRE(result.empty());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_CASE("Read file from string literal", "[Utils]")
|
||||||
|
{
|
||||||
|
// all we need is to check if it compiles
|
||||||
|
REQUIRE(Utils::ReadFile("", true).Empty());
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user