aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Stephani2017-05-19 10:58:58 +0200
committerPhilipp Stephani2017-06-09 15:56:49 +0200
commit39121649bed8c75f84caa5c9ab554f20205b192e (patch)
treef9820b19f8f79d7c364d73a330ad4ef42479f380
parent517c704a6360356e62752f581c71b38a479e2f59 (diff)
downloademacs-39121649bed8c75f84caa5c9ab554f20205b192e.tar.gz
emacs-39121649bed8c75f84caa5c9ab554f20205b192e.zip
Give test files a -tests.el suffix
Rename a couple of test files that have the same name as the library they test. This harmonizes the naming pattern and makes it possible to have the tests directories in the load path.
-rw-r--r--test/lisp/eshell/eshell-tests.el (renamed from test/lisp/eshell/eshell.el)4
-rw-r--r--test/lisp/net/puny-tests.el (renamed from test/lisp/net/puny.el)4
-rw-r--r--test/lisp/progmodes/f90-tests.el (renamed from test/lisp/progmodes/f90.el)4
-rw-r--r--test/lisp/vc/vc-hg-tests.el (renamed from test/lisp/vc/vc-hg.el)4
4 files changed, 8 insertions, 8 deletions
diff --git a/test/lisp/eshell/eshell.el b/test/lisp/eshell/eshell-tests.el
index dee6c17e025..363ef525e1b 100644
--- a/test/lisp/eshell/eshell.el
+++ b/test/lisp/eshell/eshell-tests.el
@@ -1,4 +1,4 @@
1;;; tests/eshell.el --- Eshell test suite 1;;; tests/eshell-tests.el --- Eshell test suite
2 2
3;; Copyright (C) 1999-2017 Free Software Foundation, Inc. 3;; Copyright (C) 1999-2017 Free Software Foundation, Inc.
4 4
@@ -249,4 +249,4 @@ chars"
249 249
250(provide 'esh-test) 250(provide 'esh-test)
251 251
252;;; tests/eshell.el ends here 252;;; tests/eshell-tests.el ends here
diff --git a/test/lisp/net/puny.el b/test/lisp/net/puny-tests.el
index b119e45d653..b06364e3b37 100644
--- a/test/lisp/net/puny.el
+++ b/test/lisp/net/puny-tests.el
@@ -1,4 +1,4 @@
1;;; puny.el --- tests for net/puny.el -*- coding: utf-8; -*- 1;;; puny-tests.el --- tests for net/puny.el -*- coding: utf-8; -*-
2 2
3;; Copyright (C) 2017 Free Software Foundation, Inc. 3;; Copyright (C) 2017 Free Software Foundation, Inc.
4 4
@@ -38,4 +38,4 @@
38 "Test puny decoding." 38 "Test puny decoding."
39 (should (string= (puny-decode-string "xn--9dbdkw") "חנוך"))) 39 (should (string= (puny-decode-string "xn--9dbdkw") "חנוך")))
40 40
41;;; puny.el ends here 41;;; puny-tests.el ends here
diff --git a/test/lisp/progmodes/f90.el b/test/lisp/progmodes/f90-tests.el
index cda39eda376..533a67149e7 100644
--- a/test/lisp/progmodes/f90.el
+++ b/test/lisp/progmodes/f90-tests.el
@@ -1,4 +1,4 @@
1;;; f90.el --- tests for progmodes/f90.el 1;;; f90-tests.el --- tests for progmodes/f90.el
2 2
3;; Copyright (C) 2011-2017 Free Software Foundation, Inc. 3;; Copyright (C) 2011-2017 Free Software Foundation, Inc.
4 4
@@ -273,4 +273,4 @@ end program prog")
273 (forward-line -2) 273 (forward-line -2)
274 (should (= 2 (current-indentation))))) ; class is 274 (should (= 2 (current-indentation))))) ; class is
275 275
276;;; f90.el ends here 276;;; f90-tests.el ends here
diff --git a/test/lisp/vc/vc-hg.el b/test/lisp/vc/vc-hg-tests.el
index 8e4c9739e08..284e06a2052 100644
--- a/test/lisp/vc/vc-hg.el
+++ b/test/lisp/vc/vc-hg-tests.el
@@ -1,4 +1,4 @@
1;;; vc-hg.el --- tests for vc/vc-hg.el 1;;; vc-hg-tests.el --- tests for vc/vc-hg.el
2 2
3;; Copyright (C) 2016-2017 Free Software Foundation, Inc. 3;; Copyright (C) 2016-2017 Free Software Foundation, Inc.
4 4
@@ -55,4 +55,4 @@
55 (save-excursion (insert "philringnalda 218075 2014-11-28 CLOBBER:")) 55 (save-excursion (insert "philringnalda 218075 2014-11-28 CLOBBER:"))
56 (should (floatp (vc-hg-annotate-time))))) 56 (should (floatp (vc-hg-annotate-time)))))
57 57
58;;; vc-hg.el ends here 58;;; vc-hg-tests.el ends here