From c1b2ecc79902ea89bb9a0296f2d3ddcb7591800a Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 8 Nov 2009 15:57:04 +0000 Subject: tests: MSVC warning fixes git-svn-id: http://pugixml.googlecode.com/svn/trunk@228 99668b35-9821-0410-8761-19e4c4f06640 --- tests/helpers.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/helpers.hpp b/tests/helpers.hpp index 1481ccd..e7ed873 100644 --- a/tests/helpers.hpp +++ b/tests/helpers.hpp @@ -17,8 +17,8 @@ template static void generic_bool_ops_test(const T& obj) CHECK(!b1); CHECK(b2); - CHECK(obj && true); - CHECK(obj || false); + CHECK(obj && b2); + CHECK(obj || b2); CHECK(obj && obj); CHECK(obj || obj); } -- cgit v1.2.3