summaryrefslogtreecommitdiff
path: root/src/unit_tests.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-12-14 14:17:02 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-12-14 14:38:17 +0000
commit6afef079b6104666e524dbae99592efc9c1b8136 (patch)
treed6e95356477f478403b0ba8603b53b705a22cb37 /src/unit_tests.cc
parenteced7d4c246c007f9617d91edd5867e9e002bfc1 (diff)
Remove Editor::main_selection(|index), directly use the SelectionList method
Diffstat (limited to 'src/unit_tests.cc')
-rw-r--r--src/unit_tests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit_tests.cc b/src/unit_tests.cc
index 8d7fb908..278e0501 100644
--- a/src/unit_tests.cc
+++ b/src/unit_tests.cc
@@ -89,7 +89,7 @@ void test_editor()
Selection sel{ 2_line, buffer.back_coord() };
editor.select(sel, SelectMode::Replace);
editor.insert("",InsertMode::Replace);
- kak_assert(not buffer.is_end(editor.main_selection().first()));
+ kak_assert(not buffer.is_end(editor.selections().main().first()));
}
void test_utf8()