diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-01 06:18:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-01 06:18:42 +0300 |
commit | 2d64e42449c580b7e4135559113725a255022a9a (patch) | |
tree | e68030ef13cb190478394bbc4c7c73f345a132de /src | |
parent | 59d9b799fa5bf3c8ba99cc6f703b83751f1d3497 (diff) | |
download | manaverse-2d64e42449c580b7e4135559113725a255022a9a.tar.gz manaverse-2d64e42449c580b7e4135559113725a255022a9a.tar.bz2 manaverse-2d64e42449c580b7e4135559113725a255022a9a.tar.xz manaverse-2d64e42449c580b7e4135559113725a255022a9a.zip |
Fix compilation warnings in tests.
Diffstat (limited to 'src')
-rw-r--r-- | src/unittests/fs/virtfs/throw.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unittests/fs/virtfs/throw.cc b/src/unittests/fs/virtfs/throw.cc index b15572d20..e2472f618 100644 --- a/src/unittests/fs/virtfs/throw.cc +++ b/src/unittests/fs/virtfs/throw.cc @@ -248,10 +248,10 @@ TEST_CASE("throw configuration tests", "configuration") SECTION("configuration undefined") { const char *const key = "nonsetvalue"; - REQUIRE_THROWS(config.getIntValue(key) == 0); - REQUIRE_THROWS(config.getFloatValue(key) >= 0.0f); - REQUIRE_THROWS(config.getStringValue(key).empty()); - REQUIRE_THROWS(config.getBoolValue(key) == false); + REQUIRE_THROWS(config.getIntValue(key)); + REQUIRE_THROWS(config.getFloatValue(key)); + REQUIRE_THROWS(config.getStringValue(key)); + REQUIRE_THROWS(config.getBoolValue(key)); } delete2(logger); |