From 2d64e42449c580b7e4135559113725a255022a9a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Sep 2017 06:18:42 +0300 Subject: Fix compilation warnings in tests. --- src/unittests/fs/virtfs/throw.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/unittests/fs') 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); -- cgit v1.2.3-60-g2f50