summaryrefslogtreecommitdiff
path: root/src/unittests/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-01 06:18:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-01 06:18:42 +0300
commit2d64e42449c580b7e4135559113725a255022a9a (patch)
treee68030ef13cb190478394bbc4c7c73f345a132de /src/unittests/fs
parent59d9b799fa5bf3c8ba99cc6f703b83751f1d3497 (diff)
downloadplus-2d64e42449c580b7e4135559113725a255022a9a.tar.gz
plus-2d64e42449c580b7e4135559113725a255022a9a.tar.bz2
plus-2d64e42449c580b7e4135559113725a255022a9a.tar.xz
plus-2d64e42449c580b7e4135559113725a255022a9a.zip
Fix compilation warnings in tests.
Diffstat (limited to 'src/unittests/fs')
-rw-r--r--src/unittests/fs/virtfs/throw.cc8
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);