Index: base/test/expectations/parser_unittest.cc |
diff --git a/base/test/expectations/parser_unittest.cc b/base/test/expectations/parser_unittest.cc |
index a45645831ea0255c8f1270b148834b5b88d88a86..d1d10a5d8804e9f3bc191db9fe637502a101a62b 100644 |
--- a/base/test/expectations/parser_unittest.cc |
+++ b/base/test/expectations/parser_unittest.cc |
@@ -161,7 +161,7 @@ TEST_F(TestExpectationParserTest, WeirdSpaces) { |
} |
TEST_F(TestExpectationParserTest, SyntaxErrors) { |
- const char* kErrors[] = { |
+ const char* const kErrors[] = { |
"Foo [ dfasd", |
"Foo [Linux] # This is an illegal comment", |
"Foo [Linux] Bar # Another illegal comment.", |
@@ -184,7 +184,7 @@ TEST_F(TestExpectationParserTest, SyntaxErrors) { |
} |
TEST_F(TestExpectationParserTest, DataErrors) { |
- const char* kOneError[] = { |
+ const char* const kOneError[] = { |
"http://crbug.com/1234 [MagicBrowzR] BadModifier = Timeout", |
"________ [Linux] BadResult = WhatNow", |
"http://wkb.ug/1234 [Debug Release Win-7] MultipleConfigs = Skip", |
@@ -196,7 +196,7 @@ TEST_F(TestExpectationParserTest, DataErrors) { |
data_errors_.clear(); |
} |
- const char* kTwoErrors[] = { |
+ const char* const kTwoErrors[] = { |
". [Mac-TurningIntoiOS] BadModifierVariant.BadResult = Foobar", |
"1234 [ Debug Release OS/2 ] MultipleConfigs.BadModifier = Pass", |
}; |