summaryrefslogtreecommitdiff
path: root/test/normal
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-11-27 21:05:35 +1100
committerMaxime Coste <mawww@kakoune.org>2018-11-27 21:05:35 +1100
commitc6d6060502a2c039d6ebd4b20aa91fa32bb07165 (patch)
tree33500c83ab74f413582a0d0f184efd50d202bc9a /test/normal
parente0b9327a9f53469b3ed8f1b7e7e1f04d9068c539 (diff)
Add a test case for dropping full whitespace selections on trim
Diffstat (limited to 'test/normal')
-rw-r--r--test/normal/trim-drop-empty/cmd1
-rw-r--r--test/normal/trim-drop-empty/in4
-rw-r--r--test/normal/trim-drop-empty/selections1
3 files changed, 6 insertions, 0 deletions
diff --git a/test/normal/trim-drop-empty/cmd b/test/normal/trim-drop-empty/cmd
new file mode 100644
index 00000000..6eadaab7
--- /dev/null
+++ b/test/normal/trim-drop-empty/cmd
@@ -0,0 +1 @@
+%<a-s>_
diff --git a/test/normal/trim-drop-empty/in b/test/normal/trim-drop-empty/in
new file mode 100644
index 00000000..d94df960
--- /dev/null
+++ b/test/normal/trim-drop-empty/in
@@ -0,0 +1,4 @@
+ foo
+
+
+bar
diff --git a/test/normal/trim-drop-empty/selections b/test/normal/trim-drop-empty/selections
new file mode 100644
index 00000000..57f09b9e
--- /dev/null
+++ b/test/normal/trim-drop-empty/selections
@@ -0,0 +1 @@
+'foo' 'bar'