Index: base/debug/proc_maps_linux_unittest.cc |
diff --git a/base/debug/proc_maps_linux_unittest.cc b/base/debug/proc_maps_linux_unittest.cc |
index fc8ced6aa057a3e9bf81571c98b014e56a11620c..2b6a7c610bfc8b75fc7e52e94caaa37b9bc3cc80 100644 |
--- a/base/debug/proc_maps_linux_unittest.cc |
+++ b/base/debug/proc_maps_linux_unittest.cc |
@@ -239,7 +239,7 @@ TEST(ProcMapsTest, ReadProcMapsNonEmptyString) { |
} |
TEST(ProcMapsTest, MissingFields) { |
- static const char* kTestCases[] = { |
+ static const char* const kTestCases[] = { |
"00400000\n", // Missing end + beyond. |
"00400000-0040b000\n", // Missing perms + beyond. |
"00400000-0040b000 r-xp\n", // Missing offset + beyond. |
@@ -261,7 +261,7 @@ TEST(ProcMapsTest, MissingFields) { |
} |
TEST(ProcMapsTest, InvalidInput) { |
- static const char* kTestCases[] = { |
+ static const char* const kTestCases[] = { |
"thisisal-0040b000 rwxp 00000000 fc:00 794418 /bin/cat\n", |
"0040000d-linvalid rwxp 00000000 fc:00 794418 /bin/cat\n", |
"00400000-0040b000 inpu 00000000 fc:00 794418 /bin/cat\n", |