branch: elpa/smartparens
commit 98f135746c63bcef25fb2991cf72d8baf03a076c
Author: Matus Goljer <matus.gol...@gmail.com>
Commit: Matus Goljer <matus.gol...@gmail.com>

    test: add test for sp-delete-blank-sexps
---
 test/smartparens-commands-test.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/smartparens-commands-test.el 
b/test/smartparens-commands-test.el
index 3e43b7f72a..32111e2add 100644
--- a/test/smartparens-commands-test.el
+++ b/test/smartparens-commands-test.el
@@ -725,7 +725,10 @@ be."
   ((nil
     ("[foo]|" "[foo|]")
     ("\\{foo\\}|" "\\{foo|\\}")
-    ("\"foo\\\\\"|" "\"foo\\\\|\""))))
+    ("\"foo\\\\\"|" "\"foo\\\\|\"")
+    ("(|)" "|"))
+   (((sp-delete-blank-sexps t))
+    ("[|   ]" "|"))))
 
 (ert-deftest sp-test-command-sp-backward-delete-char-hungry-delete-mode ()
   "In `hungry-delete-mode' we should kill all whitespace."

Reply via email to