summaryrefslogtreecommitdiffstats
path: root/base/values_unittest.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-03 21:44:39 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-03 21:44:39 +0000
commit74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d (patch)
tree27015ae94476e29886a69397af7bc32f1dff5ad2 /base/values_unittest.cc
parentcc1f11583bd3b45f4f8853c617cacb8d7fc58eb8 (diff)
downloadchromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.zip
chromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.tar.gz
chromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.tar.bz2
clang/mac: Fix most problems in unittest targets in webkit.gyp
This does to WebPoint/gfx::Point what we did to WebString/string16 last friday and fixes a bunch of other small issues. Also fix two tiny issues in the base unit tests target. BUG=None TEST=None TBR=hans git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/values_unittest.cc')
-rw-r--r--base/values_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/values_unittest.cc b/base/values_unittest.cc
index c1fb018..9f34c62 100644
--- a/base/values_unittest.cc
+++ b/base/values_unittest.cc
@@ -99,10 +99,10 @@ TEST_F(ValuesTest, List) {
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));