Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: tools/gn/input_conversion_unittest.cc

Issue 1525183002: tools/gn: rename char_offset to column_number (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix indentation Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/header_checker.cc ('k') | tools/gn/location.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/input_conversion_unittest.cc
diff --git a/tools/gn/input_conversion_unittest.cc b/tools/gn/input_conversion_unittest.cc
index aff66674172f37dda1bf5e34331e4e94850ee07b..2c4afeacc6b0ac952b750e278f5cb9b73004c66a 100644
--- a/tools/gn/input_conversion_unittest.cc
+++ b/tools/gn/input_conversion_unittest.cc
@@ -126,7 +126,7 @@ TEST_F(InputConversionTest, ValueDict) {
ASSERT_TRUE(a_origin);
LocationRange a_range = a_origin->GetRange();
EXPECT_EQ(2, a_range.begin().line_number());
- EXPECT_EQ(6, a_range.begin().char_offset());
+ EXPECT_EQ(6, a_range.begin().column_number());
const InputFile* a_file = a_range.begin().file();
EXPECT_EQ(input, a_file->contents());
« no previous file with comments | « tools/gn/header_checker.cc ('k') | tools/gn/location.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698