summaryrefslogtreecommitdiff
path: root/src/unit_tests.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-12-14 13:21:07 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-12-14 14:38:17 +0000
commitdad27fe1a0d3cf7382675e9fb2c64a0a4f874a59 (patch)
treebcb63fc2186360c8fb27a13b3f24b3e8b689228e /src/unit_tests.cc
parentf53ba0baede2aade92b4267f416bf1a4965064f6 (diff)
Remove simple selectors, always go through a multi selector
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 1294c0be..8d7fb908 100644
--- a/src/unit_tests.cc
+++ b/src/unit_tests.cc
@@ -77,7 +77,7 @@ void test_editor()
{
scoped_edition edition{editor};
editor.select(select_whole_buffer);
- editor.multi_select(std::bind(select_all_matches, _1, _2, Regex{"\\n\\h*"}));
+ editor.select(std::bind(select_all_matches, _1, _2, Regex{"\\n\\h*"}));
for (auto& sel : editor.selections())
{
kak_assert(buffer.byte_at(sel.min()) == '\n');