Fix warning in test.
This commit is contained in:
parent
9c99aafe87
commit
6dc9c1a740
|
@ -29,7 +29,7 @@ SCENARIO("get_http() works as expected", "[http]")
|
||||||
|
|
||||||
THEN("Answer is not empty")
|
THEN("Answer is not empty")
|
||||||
{
|
{
|
||||||
REQUIRE(answer != "");
|
REQUIRE(!answer.empty());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ SCENARIO("get_http() works as expected", "[http]")
|
||||||
|
|
||||||
THEN("Answer is empty")
|
THEN("Answer is empty")
|
||||||
{
|
{
|
||||||
REQUIRE(answer == "");
|
REQUIRE(answer.empty());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue