Index: base/command_line_unittest.cc |
diff --git a/base/command_line_unittest.cc b/base/command_line_unittest.cc |
index e395c85677ab3f36844e9572b535e8f4d77adc90..db1a0b27cb1bca5d135d9f1d5e6704da7b9482cd 100644 |
--- a/base/command_line_unittest.cc |
+++ b/base/command_line_unittest.cc |
@@ -60,12 +60,13 @@ TEST(CommandLineTest, CommandLineConstructor) { |
cl.GetProgram().value()); |
EXPECT_TRUE(cl.HasSwitch("foo")); |
- EXPECT_TRUE(cl.HasSwitch("bAr")); |
- EXPECT_TRUE(cl.HasSwitch("baz")); |
- EXPECT_TRUE(cl.HasSwitch("spaetzle")); |
#if defined(OS_WIN) |
- EXPECT_TRUE(cl.HasSwitch("SPAETZLE")); |
+ EXPECT_TRUE(cl.HasSwitch("bar")); |
+#else |
+ EXPECT_FALSE(cl.HasSwitch("bar")); |
#endif |
+ EXPECT_TRUE(cl.HasSwitch("baz")); |
+ EXPECT_TRUE(cl.HasSwitch("spaetzle")); |
EXPECT_TRUE(cl.HasSwitch("other-switches")); |
EXPECT_TRUE(cl.HasSwitch("input-translation")); |
@@ -128,7 +129,6 @@ TEST(CommandLineTest, CommandLineFromString) { |
EXPECT_TRUE(cl.HasSwitch("bar")); |
EXPECT_TRUE(cl.HasSwitch("baz")); |
EXPECT_TRUE(cl.HasSwitch("spaetzle")); |
- EXPECT_TRUE(cl.HasSwitch("SPAETZLE")); |
EXPECT_TRUE(cl.HasSwitch("other-switches")); |
EXPECT_TRUE(cl.HasSwitch("input-translation")); |
EXPECT_TRUE(cl.HasSwitch("quotes")); |