From 5a671db12c36bd5944b4d72cc0b3c485724c0ba5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 16 Jul 2012 21:14:52 +0200 Subject: [PATCH] Correct multi select unit test --- src/unit_tests.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');