Skip to content

Commit

Permalink
fix(test): do not import ert directly in every test file
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuco1 committed Apr 10, 2024
1 parent 1c6e471 commit bbdc083
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion test/smarparents-clojure-test.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
(require 'ert)
(require 'smartparens-clojure)
(require 'clojure-mode)

Expand Down
1 change: 0 additions & 1 deletion test/smartparens-javascript-test.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
(require 'ert)
(require 'smartparens-javascript)
(require 'js2-mode)

Expand Down
3 changes: 0 additions & 3 deletions test/smartparens-lua-test.el
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
(require 'ert)
(require 'smartparens)
(require 'lua-mode)



(ert-deftest sp-test-lua-complete-block-in-code ()
"When inserting the beginning of a block, insert the matching end"
(sp-test-with-temp-buffer "|"
Expand Down
1 change: 0 additions & 1 deletion test/smartparens-movement-test.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(require 'smartparens)
(require 'ert)

(ert-deftest sp-test-next-sexp ()
(sp-test-with-temp-elisp-buffer "|(foo) (bar)"
Expand Down
1 change: 0 additions & 1 deletion test/smartparens-ocaml-test.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
(require 'ert)
(require 'smartparens)
(require 'tuareg)

Expand Down
1 change: 0 additions & 1 deletion test/smartparens-python-test.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
(require 'ert)
(require 'smartparens-python)

(defun sp-test--python-mode ()
Expand Down
1 change: 0 additions & 1 deletion test/test-helper.el
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
;; (when (require 'undercover nil t)
;; (undercover "smartparens*.el"))

(require 'ert)
(require 'dash)
(require 'f)
(require 'cl-lib)
Expand Down

0 comments on commit bbdc083

Please sign in to comment.