From c6d6060502a2c039d6ebd4b20aa91fa32bb07165 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 27 Nov 2018 21:05:35 +1100 Subject: [PATCH] Add a test case for dropping full whitespace selections on trim --- test/normal/trim-drop-empty/cmd | 1 + test/normal/trim-drop-empty/in | 4 ++++ test/normal/trim-drop-empty/selections | 1 + 3 files changed, 6 insertions(+) create mode 100644 test/normal/trim-drop-empty/cmd create mode 100644 test/normal/trim-drop-empty/in create mode 100644 test/normal/trim-drop-empty/selections 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 @@ +%_ 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'