Fix two tests
* test/lisp/progmodes/elisp-mode-tests.el (xref-elisp-test-run): Make sure file names can be compared as strings, by running them through 'file-truename'. Reported by Vin Shelton <acs@alumni.princeton.edu>. * test/lisp/emacs-lisp/bytecomp-tests.el ("warn-obsolete-hook.el") ("warn-obsolete-variable.el"): Use [^z-a] to match a newline as well. Reported by Vin Shelton <acs@alumni.princeton.edu>.
This commit is contained in:
parent
57ae3f29af
commit
0057294b2a
2 changed files with 15 additions and 3 deletions
|
@ -617,13 +617,13 @@ Subtests signal errors if something goes wrong."
|
|||
(make-obsolete-variable 'bytecomp--tests-obsolete-var nil "99.99")
|
||||
|
||||
(bytecomp--define-warning-file-test "warn-obsolete-hook.el"
|
||||
"bytecomp--tests-obs.*obsolete.*99.99")
|
||||
"bytecomp--tests-obs.*obsolete[^z-a]*99.99")
|
||||
|
||||
(bytecomp--define-warning-file-test "warn-obsolete-variable-same-file.el"
|
||||
"foo-obs.*obsolete.*99.99" t)
|
||||
|
||||
(bytecomp--define-warning-file-test "warn-obsolete-variable.el"
|
||||
"bytecomp--tests-obs.*obsolete.*99.99")
|
||||
"bytecomp--tests-obs.*obsolete[^z-a]*99.99")
|
||||
|
||||
(bytecomp--define-warning-file-test "warn-obsolete-variable-bound.el"
|
||||
"bytecomp--tests-obs.*obsolete.*99.99" t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue