From 3ff66a86a694c02c0a2951957c3e8eb7767bc83a Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Fri, 19 May 2017 10:58:58 +0200 Subject: [PATCH] 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. --- test/lisp/eshell/{eshell.el => eshell-tests.el} | 4 ++-- test/lisp/net/{puny.el => puny-tests.el} | 4 ++-- test/lisp/progmodes/{f90.el => f90-tests.el} | 4 ++-- test/lisp/vc/{vc-hg.el => vc-hg-tests.el} | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) rename test/lisp/eshell/{eshell.el => eshell-tests.el} (99%) rename test/lisp/net/{puny.el => puny-tests.el} (92%) rename test/lisp/progmodes/{f90.el => f90-tests.el} (98%) rename test/lisp/vc/{vc-hg.el => vc-hg-tests.el} (96%) diff --git a/test/lisp/eshell/eshell.el b/test/lisp/eshell/eshell-tests.el similarity index 99% rename from test/lisp/eshell/eshell.el rename to test/lisp/eshell/eshell-tests.el index dee6c17e02..363ef525e1 100644 --- a/test/lisp/eshell/eshell.el +++ b/test/lisp/eshell/eshell-tests.el @@ -1,4 +1,4 @@ -;;; tests/eshell.el --- Eshell test suite +;;; tests/eshell-tests.el --- Eshell test suite ;; Copyright (C) 1999-2017 Free Software Foundation, Inc. @@ -249,4 +249,4 @@ eshell-test-command-result (provide 'esh-test) -;;; tests/eshell.el ends here +;;; tests/eshell-tests.el ends here diff --git a/test/lisp/net/puny.el b/test/lisp/net/puny-tests.el similarity index 92% rename from test/lisp/net/puny.el rename to test/lisp/net/puny-tests.el index b119e45d65..b06364e3b3 100644 --- a/test/lisp/net/puny.el +++ b/test/lisp/net/puny-tests.el @@ -1,4 +1,4 @@ -;;; puny.el --- tests for net/puny.el -*- coding: utf-8; -*- +;;; puny-tests.el --- tests for net/puny.el -*- coding: utf-8; -*- ;; Copyright (C) 2017 Free Software Foundation, Inc. @@ -38,4 +38,4 @@ "Test puny decoding." (should (string= (puny-decode-string "xn--9dbdkw") "חנוך"))) -;;; puny.el ends here +;;; puny-tests.el ends here diff --git a/test/lisp/progmodes/f90.el b/test/lisp/progmodes/f90-tests.el similarity index 98% rename from test/lisp/progmodes/f90.el rename to test/lisp/progmodes/f90-tests.el index cda39eda37..533a67149e 100644 --- a/test/lisp/progmodes/f90.el +++ b/test/lisp/progmodes/f90-tests.el @@ -1,4 +1,4 @@ -;;; f90.el --- tests for progmodes/f90.el +;;; f90-tests.el --- tests for progmodes/f90.el ;; Copyright (C) 2011-2017 Free Software Foundation, Inc. @@ -273,4 +273,4 @@ f90-test-indent (forward-line -2) (should (= 2 (current-indentation))))) ; class is -;;; f90.el ends here +;;; f90-tests.el ends here diff --git a/test/lisp/vc/vc-hg.el b/test/lisp/vc/vc-hg-tests.el similarity index 96% rename from test/lisp/vc/vc-hg.el rename to test/lisp/vc/vc-hg-tests.el index 8e4c9739e0..284e06a205 100644 --- a/test/lisp/vc/vc-hg.el +++ b/test/lisp/vc/vc-hg-tests.el @@ -1,4 +1,4 @@ -;;; vc-hg.el --- tests for vc/vc-hg.el +;;; vc-hg-tests.el --- tests for vc/vc-hg.el ;; Copyright (C) 2016-2017 Free Software Foundation, Inc. @@ -55,4 +55,4 @@ (save-excursion (insert "philringnalda 218075 2014-11-28 CLOBBER:")) (should (floatp (vc-hg-annotate-time))))) -;;; vc-hg.el ends here +;;; vc-hg-tests.el ends here -- 2.13.0.303.g4ebf302169-goog