From 1843b8c277256b756f9ffb241318ce39e24dd5fb Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 9 Jun 2016 09:31:13 +0200 Subject: [PATCH] [sublime bindings] Add test for smartBackspace Issue #4038 --- test/sublime_test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/sublime_test.js b/test/sublime_test.js index c93e041b87..c5c19c0a23 100644 --- a/test/sublime_test.js +++ b/test/sublime_test.js @@ -274,6 +274,10 @@ "clearBookmarks", Pos(0, 0), "selectBookmarks", at(0, 0)); + stTest("smartBackspace", " foo\n bar", + setSel(0, 2, 0, 2, 1, 4, 1, 4, 1, 6, 1, 6), "smartBackspace", + val("foo\n br")) + stTest("upAndDowncaseAtCursor", "abc\ndef x\nghI", setSel(0, 1, 0, 3, 1, 1, 1, 1,