[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/clojure-ts-mode 19df2d536d 1/2: Do not require test-helper
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/clojure-ts-mode 19df2d536d 1/2: Do not require test-helper.el |
Date: |
Mon, 1 Jul 2024 09:59:42 -0400 (EDT) |
branch: elpa/clojure-ts-mode
commit 19df2d536d56dfc799aec1e534472e3fe10fec29
Author: Danny Freeman <danny@dfreeman.email>
Commit: Danny Freeman <danny@dfreeman.email>
Do not require test-helper.el
ert-runner will load this file when it is directly under the project
test/ directory. I've moved some of the test clojure files under
test/samples to help keep test directory clean and a little more focused
Fixes #44
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/clojure-ts-mode 19df2d536d 1/2: Do not require test-helper.el,
ELPA Syncer <=