Correct multi select unit test
This commit is contained in:
parent
1d5180e782
commit
5a671db12c
|
@ -37,7 +37,7 @@ void test_editor()
|
||||||
using namespace std::placeholders;
|
using namespace std::placeholders;
|
||||||
|
|
||||||
editor.select(select_whole_buffer);
|
editor.select(select_whole_buffer);
|
||||||
editor.multi_select(std::bind(select_all_matches, _1, "\n\\h*"));
|
editor.multi_select(std::bind(select_all_matches, _1, "\\n\\h*"));
|
||||||
for (auto& sel : editor.selections())
|
for (auto& sel : editor.selections())
|
||||||
{
|
{
|
||||||
assert(*sel.begin() == '\n');
|
assert(*sel.begin() == '\n');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user