mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02: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