branch: elpa/parseedn
commit 342359abd10f87f840e38a166d6c99f533062423
Merge: ddf824bc1d 3e0b5d729e
Author: Arne Brasseur <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #2 from clojure-emacs/fix-build-question-mark
Fix references in tests: s/parseclj/parseedn
---
test/parseedn-el-parity-test.el | 2 +-
test/{parseclj-test-data.el => parseedn-test-data.el} | 6 +++---
test/parseedn-test.el | 8 ++++----
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/test/parseedn-el-parity-test.el b/test/parseedn-el-parity-test.el
index c58641a4f3..330669af8f 100644
--- a/test/parseedn-el-parity-test.el
+++ b/test/parseedn-el-parity-test.el
@@ -30,7 +30,7 @@
;;; Code:
(require 'ert)
-(require 'parseclj)
+(require 'parseedn)
(eval-when-compile (require 'subr-x)) ;; for things like hash-table-keys
(ert-deftest whitespace ()
diff --git a/test/parseclj-test-data.el b/test/parseedn-test-data.el
similarity index 99%
rename from test/parseclj-test-data.el
rename to test/parseedn-test-data.el
index 1b739de399..a862403030 100644
--- a/test/parseclj-test-data.el
+++ b/test/parseedn-test-data.el
@@ -1,4 +1,4 @@
-;;; parseclj-test-data.el --- Clojure/EDN parser - test data
+;;; parseedn-test-data.el --- Clojure/EDN parser - test data
;; Copyright (C) 2017-2018 Arne Brasseur
@@ -27,7 +27,7 @@
;;; Code:
-(setq parseclj-test-data
+(setq parseedn-test-data
(a-list
"simple-list"
@@ -342,4 +342,4 @@
:source "[nil true false]"
:edn '([nil t nil]))))
-;;; parseclj-test-data.el ends here
+;;; parseedn-test-data.el ends here
diff --git a/test/parseedn-test.el b/test/parseedn-test.el
index eb4cfb41fa..d9c3ce79d3 100644
--- a/test/parseedn-test.el
+++ b/test/parseedn-test.el
@@ -28,9 +28,9 @@
;;; Code
(require 'ert)
-(require 'parseclj)
+(require 'parseedn)
-(load "test/parseclj-test-data.el")
+(load "test/parseedn-test-data.el")
(ert-deftest parseedn-print-test ()
(should (equal (parseedn-print-str nil) "nil"))
@@ -56,7 +56,7 @@
(insert ,(a-get data :source))
(goto-char 1)
(should (a-equal (parseedn-read) ',(a-get data
:edn)))))))))
- parseclj-test-data)))
+ parseedn-test-data)))
(defmacro define-parseedn-roundtrip-tests ()
`(progn
@@ -69,7 +69,7 @@
`(ert-deftest ,test-name ()
:tags '(parseedn-rountrip)
(should (equal (parseedn-print-str (car ',(a-get data
:edn))) ,(a-get data :source))))))))
- parseclj-test-data)))
+ parseedn-test-data)))
(define-parseedn-read-tests)
(define-parseedn-roundtrip-tests)