mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-01 17:11:17 +01:00
using .empty() on stl containers
This commit is contained in:
@@ -57,7 +57,7 @@ TEST_CASE("Remove char from string") {
|
||||
TEST_CASE("Remove char from empty string") {
|
||||
char str[50] = {};
|
||||
sls::removeChar(str, 'e');
|
||||
REQUIRE(std::string(str) == "");
|
||||
REQUIRE(std::string(str).empty());
|
||||
}
|
||||
|
||||
TEST_CASE("Many characters in a row") {
|
||||
|
||||
Reference in New Issue
Block a user