Skip to content

Commit 1843b8c

Browse files
committed
[sublime bindings] Add test for smartBackspace
Issue codemirror#4038
1 parent 79bec10 commit 1843b8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/sublime_test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@
274274
"clearBookmarks",
275275
Pos(0, 0), "selectBookmarks", at(0, 0));
276276

277+
stTest("smartBackspace", " foo\n bar",
278+
setSel(0, 2, 0, 2, 1, 4, 1, 4, 1, 6, 1, 6), "smartBackspace",
279+
val("foo\n br"))
280+
277281
stTest("upAndDowncaseAtCursor", "abc\ndef x\nghI",
278282
setSel(0, 1, 0, 3,
279283
1, 1, 1, 1,

0 commit comments

Comments
 (0)