diff --git a/src/unit_tests.cc b/src/unit_tests.cc index a3bfc427..2d46d50c 100644 --- a/src/unit_tests.cc +++ b/src/unit_tests.cc @@ -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');