diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-14 20:27:29 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-14 20:27:29 +0000 |
commit | cb2f36323ab5dbecc2ecc6e00ec04956e49b356b (patch) | |
tree | 1147a72e3e49ffb869aa67e8084309ed4d616c54 /base/command_line_unittest.cc | |
parent | edc286198b90c629bbf6081440512d02aef603d8 (diff) | |
download | chromium_src-cb2f36323ab5dbecc2ecc6e00ec04956e49b356b.zip chromium_src-cb2f36323ab5dbecc2ecc6e00ec04956e49b356b.tar.gz chromium_src-cb2f36323ab5dbecc2ecc6e00ec04956e49b356b.tar.bz2 |
Fix some compiler warnings, and cleanup EXPECT_EQ comparisons. Hello "U" suffix :-)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line_unittest.cc')
-rw-r--r-- | base/command_line_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/command_line_unittest.cc b/base/command_line_unittest.cc index a564f0b..d9992c2 100644 --- a/base/command_line_unittest.cc +++ b/base/command_line_unittest.cc @@ -81,7 +81,7 @@ TEST(CommandLineTest, CommandLineConstructor) { EXPECT_EQ(L"--dog=canine --cat=feline", cl.GetSwitchValue(L"other-switches")); EXPECT_EQ(L"45--output-rotation", cl.GetSwitchValue(L"input-translation")); - EXPECT_EQ(static_cast<size_t>(3), cl.GetLooseValueCount()); + EXPECT_EQ(3U, cl.GetLooseValueCount()); CommandLine::LooseValueIterator iter = cl.GetLooseValuesBegin(); EXPECT_EQ(L"flim", *iter); @@ -109,7 +109,7 @@ TEST(CommandLineTest, EmptyString) { #endif EXPECT_TRUE(cl.command_line_string().empty()); EXPECT_TRUE(cl.program().empty()); - EXPECT_EQ(static_cast<size_t>(0), cl.GetLooseValueCount()); + EXPECT_EQ(0U, cl.GetLooseValueCount()); } // Test static functions for appending switches to a command line. |