diff options
| author | Paul Eggert | 2018-08-05 18:41:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-08-05 19:36:09 -0700 |
| commit | e5652268a993ad9117f7253553c143d60460eb8f (patch) | |
| tree | 82b54b12fa3c5d41fd5e5345f19613b722709495 /test/src | |
| parent | ba8eb994f86206f69cbf9743a67b9d86ef9b1d8f (diff) | |
| download | emacs-e5652268a993ad9117f7253553c143d60460eb8f.tar.gz emacs-e5652268a993ad9117f7253553c143d60460eb8f.zip | |
Rename src/regex.c to src/regex-emacs.c.
This is in preparation for using Gnulib regex for etags,
to avoid collisions in include directives.
* src/regex-emacs.c: Rename from src/regex.c.
* src/regex-emacs.h: Rename from src/regex.h. All uses changed.
* test/src/regex-emacs-tests.el: Rename from test/src/regex-tests.el.
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/regex-emacs-tests.el (renamed from test/src/regex-tests.el) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/regex-tests.el b/test/src/regex-emacs-tests.el index 083ed5c4c8c..7a075908a6b 100644 --- a/test/src/regex-tests.el +++ b/test/src/regex-emacs-tests.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; regex-tests.el --- tests for regex.c functions -*- lexical-binding: t -*- | 1 | ;;; regex-emacs-tests.el --- tests for regex-emacs.c -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2015-2018 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2015-2018 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -24,7 +24,7 @@ | |||
| 24 | (defvar regex-tests--resources-dir | 24 | (defvar regex-tests--resources-dir |
| 25 | (concat (concat (file-name-directory (or load-file-name buffer-file-name)) | 25 | (concat (concat (file-name-directory (or load-file-name buffer-file-name)) |
| 26 | "/regex-resources/")) | 26 | "/regex-resources/")) |
| 27 | "Path to regex-resources directory next to the \"regex-tests.el\" file.") | 27 | "Path to regex-resources directory next to the \"regex-emacs-tests.el\" file.") |
| 28 | 28 | ||
| 29 | (ert-deftest regex-word-cc-fallback-test () | 29 | (ert-deftest regex-word-cc-fallback-test () |
| 30 | "Test that \"[[:cc:]]*x\" matches \"x\" (bug#24020). | 30 | "Test that \"[[:cc:]]*x\" matches \"x\" (bug#24020). |
| @@ -683,4 +683,4 @@ This evaluates the TESTS test cases from glibc." | |||
| 683 | (should-not (string-match "\\`x\\{65535\\}" (make-string 65534 ?x))) | 683 | (should-not (string-match "\\`x\\{65535\\}" (make-string 65534 ?x))) |
| 684 | (should-error (string-match "\\`x\\{65536\\}" "X") :type 'invalid-regexp)) | 684 | (should-error (string-match "\\`x\\{65536\\}" "X") :type 'invalid-regexp)) |
| 685 | 685 | ||
| 686 | ;;; regex-tests.el ends here | 686 | ;;; regex-emacs-tests.el ends here |