branch: elpa/smartparens commit bbdc083ce8406f67b9de6b1a222a0d908f8863a2 Author: Matus Goljer <matus.gol...@gmail.com> Commit: Matus Goljer <matus.gol...@gmail.com>
fix(test): do not import ert directly in every test file --- test/smarparents-clojure-test.el | 1 - test/smartparens-javascript-test.el | 1 - test/smartparens-lua-test.el | 3 --- test/smartparens-movement-test.el | 1 - test/smartparens-ocaml-test.el | 1 - test/smartparens-python-test.el | 1 - test/test-helper.el | 1 - 7 files changed, 9 deletions(-) diff --git a/test/smarparents-clojure-test.el b/test/smarparents-clojure-test.el index 87a3001376..f4d760e106 100644 --- a/test/smarparents-clojure-test.el +++ b/test/smarparents-clojure-test.el @@ -1,4 +1,3 @@ -(require 'ert) (require 'smartparens-clojure) (require 'clojure-mode) diff --git a/test/smartparens-javascript-test.el b/test/smartparens-javascript-test.el index 6e27d25476..55c4978190 100644 --- a/test/smartparens-javascript-test.el +++ b/test/smartparens-javascript-test.el @@ -1,4 +1,3 @@ -(require 'ert) (require 'smartparens-javascript) (require 'js2-mode) diff --git a/test/smartparens-lua-test.el b/test/smartparens-lua-test.el index 87aef99d00..c9ec6f5cef 100644 --- a/test/smartparens-lua-test.el +++ b/test/smartparens-lua-test.el @@ -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 "|" diff --git a/test/smartparens-movement-test.el b/test/smartparens-movement-test.el index cfed76ddb6..d3155a5bc4 100644 --- a/test/smartparens-movement-test.el +++ b/test/smartparens-movement-test.el @@ -1,5 +1,4 @@ (require 'smartparens) -(require 'ert) (ert-deftest sp-test-next-sexp () (sp-test-with-temp-elisp-buffer "|(foo) (bar)" diff --git a/test/smartparens-ocaml-test.el b/test/smartparens-ocaml-test.el index 3a4fb04f8a..862bc236ef 100644 --- a/test/smartparens-ocaml-test.el +++ b/test/smartparens-ocaml-test.el @@ -1,4 +1,3 @@ -(require 'ert) (require 'smartparens) (require 'tuareg) diff --git a/test/smartparens-python-test.el b/test/smartparens-python-test.el index a08ef63a4d..4dba2b9156 100644 --- a/test/smartparens-python-test.el +++ b/test/smartparens-python-test.el @@ -1,4 +1,3 @@ -(require 'ert) (require 'smartparens-python) (defun sp-test--python-mode () diff --git a/test/test-helper.el b/test/test-helper.el index 3661c564d6..2a568a6202 100644 --- a/test/test-helper.el +++ b/test/test-helper.el @@ -15,7 +15,6 @@ ;; (when (require 'undercover nil t) ;; (undercover "smartparens*.el")) -(require 'ert) (require 'dash) (require 'f) (require 'cl-lib)