branch: elpa/clojure-ts-mode commit 79e33b7b11c7a7ed0c7e477da36802077875106c Merge: 7b7a4705d1 19df2d536d Author: Danny Freeman <dannyfree...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
Merge pull request #45 from clojure-emacs/bug/44/test-helper-require Do not require test-helper.el --- test/clojure-ts-mode-util-test.el | 1 - test/samples/bug43.clj | 7 +++++++ test/{ => samples}/docstrings.clj | 0 test/{ => samples}/indentation.clj | 0 test/{ => samples}/native.jank | 0 test/{ => samples}/test.clj | 0 test/{utils => }/test-helper.el | 1 - 7 files changed, 7 insertions(+), 2 deletions(-) diff --git a/test/clojure-ts-mode-util-test.el b/test/clojure-ts-mode-util-test.el index b4c2e1361e..5581a2cf27 100644 --- a/test/clojure-ts-mode-util-test.el +++ b/test/clojure-ts-mode-util-test.el @@ -23,7 +23,6 @@ (require 'clojure-ts-mode) (require 'buttercup) -(require 'test-helper "test/utils/test-helper") (describe "clojure-ts-mode-version" (it "should not be nil" diff --git a/test/samples/bug43.clj b/test/samples/bug43.clj new file mode 100644 index 0000000000..85cfda136a --- /dev/null +++ b/test/samples/bug43.clj @@ -0,0 +1,7 @@ +^{:a 1} + (def b 2) + +^{:a 1} +(defn a + "hello" ;; <- + [] "world") diff --git a/test/docstrings.clj b/test/samples/docstrings.clj similarity index 100% rename from test/docstrings.clj rename to test/samples/docstrings.clj diff --git a/test/indentation.clj b/test/samples/indentation.clj similarity index 100% rename from test/indentation.clj rename to test/samples/indentation.clj diff --git a/test/native.jank b/test/samples/native.jank similarity index 100% rename from test/native.jank rename to test/samples/native.jank diff --git a/test/test.clj b/test/samples/test.clj similarity index 100% rename from test/test.clj rename to test/samples/test.clj diff --git a/test/utils/test-helper.el b/test/test-helper.el similarity index 98% rename from test/utils/test-helper.el rename to test/test-helper.el index b7ac0d4905..38bce567bd 100644 --- a/test/utils/test-helper.el +++ b/test/test-helper.el @@ -46,5 +46,4 @@ and point left there." (delete-char -1) ,@body))) -(provide 'test-helper) ;;; test-helper.el ends here