Fix warning in test.

This commit is contained in:
tastytea 2020-10-27 12:38:14 +01:00
parent 9c99aafe87
commit 6dc9c1a740
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ SCENARIO("get_http() works as expected", "[http]")
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")
{
REQUIRE(answer == "");
REQUIRE(answer.empty());
}
}
}