summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_texteditengine_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/cfde_texteditengine_unittest.cpp')
-rw-r--r--xfa/fde/cfde_texteditengine_unittest.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/fde/cfde_texteditengine_unittest.cpp b/xfa/fde/cfde_texteditengine_unittest.cpp
index ab8e64078b..123d16ce4b 100644
--- a/xfa/fde/cfde_texteditengine_unittest.cpp
+++ b/xfa/fde/cfde_texteditengine_unittest.cpp
@@ -445,10 +445,7 @@ TEST_F(CFDE_TextEditEngineTest, GetIndexForPointLineBreaks) {
engine()->SetFontSize(10.0f);
engine()->Insert(0, L"Hello\nWorld");
EXPECT_EQ(0U, engine()->GetIndexForPoint({0.0f, 0.0f}));
-
- // TODO(hnakashima): Should be 5U, caret is moving to next line.
- EXPECT_EQ(6U, engine()->GetIndexForPoint({999999.0f, 0.0f}));
-
+ EXPECT_EQ(5U, engine()->GetIndexForPoint({999999.0f, 0.0f}));
EXPECT_EQ(6U, engine()->GetIndexForPoint({0.0f, 10.0f}));
EXPECT_EQ(11U, engine()->GetIndexForPoint({999999.0f, 9999999.0f}));
}