diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/regex-emacs-tests.el | 12 |
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 |
| 160 | what failed, if anything; valid values are 'search-failed, | 160 | what 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 |
| 162 | group with their expected values. This is done with either | 162 | group with their expected values. This is done with either |
| 163 | BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil. | 163 | BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil. |
| 164 | BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 | 164 | BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 |
| @@ -166,9 +166,9 @@ end-ref1 ....] while SUBSTRING-REF is the expected substring | |||
| 166 | obtained by indexing the input string by start/end-ref. | 166 | obtained by indexing the input string by start/end-ref. |
| 167 | 167 | ||
| 168 | If the search was supposed to fail then start-ref0/substring-ref0 | 168 | If the search was supposed to fail then start-ref0/substring-ref0 |
| 169 | is 'search-failed. If the search wasn't even supposed to compile | 169 | is `search-failed'. If the search wasn't even supposed to compile |
| 170 | successfully, then start-ref0/substring-ref0 is | 170 | successfully, 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, |
| 172 | this can be set to t. | 172 | this can be set to t. |
| 173 | 173 | ||
| 174 | This function returns a string that describes the failure, or nil | 174 | This 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 | ||
| 261 | If the search was supposed to fail then start-ref0 is | 261 | If 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 |
| 263 | successfully, then start-ref0 is 'compilation-failed. | 263 | successfully, then start-ref0 is `compilation-failed'. |
| 264 | 264 | ||
| 265 | This function returns a string that describes the failure, or nil | 265 | This function returns a string that describes the failure, or nil |
| 266 | on success" | 266 | on success" |