| Index: tools/gn/parser_unittest.cc
|
| diff --git a/tools/gn/parser_unittest.cc b/tools/gn/parser_unittest.cc
|
| index 39b69b7845c619f1d2709b2ae3330957d7944d69..b6c200978ccf7ec98649c3ef8a3b83ad4aae0861 100644
|
| --- a/tools/gn/parser_unittest.cc
|
| +++ b/tools/gn/parser_unittest.cc
|
| @@ -68,7 +68,7 @@ void DoParserErrorTest(const char* input, int err_line, int err_char) {
|
| }
|
|
|
| EXPECT_EQ(err_line, err.location().line_number());
|
| - EXPECT_EQ(err_char, err.location().char_offset());
|
| + EXPECT_EQ(err_char, err.location().column_number());
|
| }
|
|
|
| // Expects the tokenizer or parser to identify an error at the given line and
|
| @@ -86,7 +86,7 @@ void DoExpressionErrorTest(const char* input, int err_line, int err_char) {
|
| }
|
|
|
| EXPECT_EQ(err_line, err.location().line_number());
|
| - EXPECT_EQ(err_char, err.location().char_offset());
|
| + EXPECT_EQ(err_char, err.location().column_number());
|
| }
|
|
|
| } // namespace
|
|
|