branch: elpa/smartparens
commit 962b322b28617a7d36c2b066314d8991fd1bf9c8
Author: Artem Yurchenko <[email protected]>
Commit: Artem Yurchenko <[email protected]>
rename duplicated tests
---
test/smartparens-delete-pair-test.el | 2 +-
test/smartparens-elixir-test.el | 2 +-
test/smartparens-org-test.el | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/smartparens-delete-pair-test.el
b/test/smartparens-delete-pair-test.el
index eb72192932..9c6cf21789 100644
--- a/test/smartparens-delete-pair-test.el
+++ b/test/smartparens-delete-pair-test.el
@@ -13,7 +13,7 @@
(delete-backward-char 1)
(should (equal (buffer-string) "\\{")))))
-(ert-deftest sp-test-delete-pair-closing ()
+(ert-deftest sp-test-delete-pair-opening ()
(let ((sp-pairs sp--test-basic-pairs))
(sp-test-with-temp-elisp-buffer "\\{|"
(smartparens-strict-mode -1)
diff --git a/test/smartparens-elixir-test.el b/test/smartparens-elixir-test.el
index 7494e86274..3fb1b88a98 100644
--- a/test/smartparens-elixir-test.el
+++ b/test/smartparens-elixir-test.el
@@ -118,7 +118,7 @@ end"
end"
'(:beg 1 :end 87 :op "defmodule" :cl "end" :prefix "" :suffix "")))
-(ert-deftest sp-test-elixir-parse-bodyless-defp-w-keyword-list ()
+(ert-deftest sp-test-elixir-parse-bodyless-def-w-keyword-list ()
"Parse bodyless defp correctly with keyword-list body"
(sp-test-elixir-parse "|defmodule HelloWorld do
def hello
diff --git a/test/smartparens-org-test.el b/test/smartparens-org-test.el
index 1be6d5a2e7..aa5f615fce 100644
--- a/test/smartparens-org-test.el
+++ b/test/smartparens-org-test.el
@@ -66,7 +66,7 @@
(execute-kbd-macro "foo /bar")
(sp-buffer-equals "foo /bar|/")))
-(ert-deftest sp-test-org-do-not-insert-star-pair-after-word ()
+(ert-deftest sp-test-org-do-not-insert-slash-pair-after-word ()
(sp-test-with-temp-buffer "|"
(org-mode)
(execute-kbd-macro "foo bar/ baz")
@@ -98,7 +98,7 @@
(execute-kbd-macro "foo ~bar")
(sp-buffer-equals "foo ~bar|~")))
-(ert-deftest sp-test-org-do-not-insert-star-pair-after-word ()
+(ert-deftest sp-test-org-do-not-insert-tilde-pair-after-word ()
(sp-test-with-temp-buffer "|"
(org-mode)
(execute-kbd-macro "foo bar~ baz")
@@ -130,7 +130,7 @@
(execute-kbd-macro "foo =bar")
(sp-buffer-equals "foo =bar|=")))
-(ert-deftest sp-test-org-do-not-insert-star-pair-after-word ()
+(ert-deftest sp-test-org-do-not-insert-equals-pair-after-word ()
(sp-test-with-temp-buffer "|"
(org-mode)
(execute-kbd-macro "foo bar= baz")