branch: master
commit d857417a7194392de821a2d795453e3595a4a324
Merge: 2cbec07 46890e0
Author: R. Bernstein <[email protected]>
Commit: R. Bernstein <[email protected]>
Merge pull request #8 from rubikitch/rename-test-filename
Rename test-gcd.el -> gcd-tests.el to comply with Melpa
---
README.md | 8 ++++----
example/{test-gcd.el => gcd-tests.el} | 0
test-simple.el | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 7a473b0..6b4b965 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ In file `gcd.el`:
)
-In file `test-gcd.el` in the same directory:
+In file `gcd-tests.el` in the same directory:
(require 'test-simple)
(test-simple-start) ;; Zero counters and start the stop watch.
@@ -51,17 +51,17 @@ In file `test-gcd.el` in the same directory:
(end-tests) ;; Stop the clock and print a summary
-Edit (with Emacs of course) `test-gcd.el` and run `M-x eval-current-buffer`
+Edit (with Emacs of course) `gcd-tests.el` and run `M-x eval-current-buffer`
You should see in buffer `*test-simple*`:
- test-gcd.el
+ gcd-tests.el
......
0 failures in 6 assertions (0.002646 seconds)
Now let's try from a command line:
- $ emacs --batch --no-site-file --no-splash --load test-gcd.el
+ $ emacs --batch --no-site-file --no-splash --load gcd-tests.el
Loading /src/external-vcs/emacs-test-simple/example/gcd.el (source)...
*scratch*
......
diff --git a/example/test-gcd.el b/example/gcd-tests.el
similarity index 100%
rename from example/test-gcd.el
rename to example/gcd-tests.el
diff --git a/test-simple.el b/test-simple.el
index e677e6c..72cdca0 100644
--- a/test-simple.el
+++ b/test-simple.el
@@ -63,17 +63,17 @@
;; (assert-equal 8 (gcd 8 32) "gcd(8,32)")
;; (end-tests) ;; Stop the clock and print a summary
;;
-;; Edit (with Emacs of course) test-gcd.el and run M-x eval-current-buffer
+;; Edit (with Emacs of course) gcd-tests.el and run M-x eval-current-buffer
;;
;; You should see in buffer *test-simple*:
;;
-;; test-gcd.el
+;; gcd-tests.el
;; ......
;; 0 failures in 6 assertions (0.002646 seconds)
;;
;; Now let us try from a command line:
;;
-;; $ emacs --batch --no-site-file --no-splash --load test-gcd.el
+;; $ emacs --batch --no-site-file --no-splash --load gcd-tests.el
;; Loading /src/external-vcs/emacs-test-simple/example/gcd.el (source)...
;; *scratch*
;; ......