Correct multi select unit test

This commit is contained in:
Maxime Coste 2012-07-16 21:14:52 +02:00
parent 1d5180e782
commit 5a671db12c

View File

@ -37,7 +37,7 @@ void test_editor()
using namespace std::placeholders;
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())
{
assert(*sel.begin() == '\n');