Skip to content

Commit

Permalink
rename duplicated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
temyurchenko committed Apr 10, 2024
1 parent 3ed34cb commit 962b322
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/smartparens-delete-pair-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/smartparens-elixir-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions test/smartparens-org-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 962b322

Please sign in to comment.