aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/regex-emacs-tests.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/src/regex-emacs-tests.el b/test/src/regex-emacs-tests.el
index e6288d1fc9b..ff0d6be3f5d 100644
--- a/test/src/regex-emacs-tests.el
+++ b/test/src/regex-emacs-tests.el
@@ -157,8 +157,8 @@ are known failures, and are skipped."
157 157
158(defun regex-tests-compare (string what-failed bounds-ref &optional substring-ref) 158(defun regex-tests-compare (string what-failed bounds-ref &optional substring-ref)
159 "I just ran a search, looking at STRING. WHAT-FAILED describes 159 "I just ran a search, looking at STRING. WHAT-FAILED describes
160what failed, if anything; valid values are 'search-failed, 160what failed, if anything; valid values are `search-failed',
161'compilation-failed and nil. I compare the beginning/end of each 161`compilation-failed' and nil. I compare the beginning/end of each
162group with their expected values. This is done with either 162group with their expected values. This is done with either
163BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil. 163BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil.
164BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 164BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1
@@ -166,9 +166,9 @@ end-ref1 ....] while SUBSTRING-REF is the expected substring
166obtained by indexing the input string by start/end-ref. 166obtained by indexing the input string by start/end-ref.
167 167
168If the search was supposed to fail then start-ref0/substring-ref0 168If the search was supposed to fail then start-ref0/substring-ref0
169is 'search-failed. If the search wasn't even supposed to compile 169is `search-failed'. If the search wasn't even supposed to compile
170successfully, then start-ref0/substring-ref0 is 170successfully, then start-ref0/substring-ref0 is
171'compilation-failed. If I only care about a match succeeding, 171`compilation-failed'. If I only care about a match succeeding,
172this can be set to t. 172this can be set to t.
173 173
174This function returns a string that describes the failure, or nil 174This function returns a string that describes the failure, or nil
@@ -259,8 +259,8 @@ BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 end-ref1
259....]. 259....].
260 260
261If the search was supposed to fail then start-ref0 is 261If the search was supposed to fail then start-ref0 is
262'search-failed. If the search wasn't even supposed to compile 262`search-failed'. If the search wasn't even supposed to compile
263successfully, then start-ref0 is 'compilation-failed. 263successfully, then start-ref0 is `compilation-failed'.
264 264
265This function returns a string that describes the failure, or nil 265This function returns a string that describes the failure, or nil
266on success" 266on success"