Changed ASSERT_EQ(bool, ...) to ASSERT_TRUE/ASSERT_FALSE.
This is necessary to get the unittests to compile with gcc-4.6.0.
TEST=FEATURES=test emerge-$board cashew
BUG=chromium-os:20063
Change-Id: I867d7d0a0ed766b42001b73470a82dc1e9c73741
Reviewed-on: http://gerrit.chromium.org/gerrit/7489
Tested-by: asharif <asharif@chromium.org>
Reviewed-by: Vince Laviano <vlaviano@chromium.org>
diff --git a/src/values_unittest.cc b/src/values_unittest.cc
index dddeda3..7e4d0b7 100644
--- a/src/values_unittest.cc
+++ b/src/values_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -107,10 +107,10 @@
ASSERT_FALSE(mixed_list->GetString(2, &string_value));
ASSERT_EQ("", string_value);
ASSERT_FALSE(mixed_list->GetBoolean(3, &bool_value));
- ASSERT_EQ(false, bool_value);
+ ASSERT_FALSE(bool_value);
ASSERT_TRUE(mixed_list->GetBoolean(0, &bool_value));
- ASSERT_EQ(true, bool_value);
+ ASSERT_TRUE(bool_value);
ASSERT_TRUE(mixed_list->GetInteger(1, &int_value));
ASSERT_EQ(42, int_value);
ASSERT_TRUE(mixed_list->GetReal(2, &double_value));