Mercurial > hg > xemacs-beta
diff tests/automated/test-harness.el @ 4199:3660d327399f
[xemacs-hg @ 2007-10-01 08:07:39 by stephent]
Implement subexpression replacement in replace-match. <87ejgf6yy9.fsf@uwakimon.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Mon, 01 Oct 2007 08:07:57 +0000 |
parents | 43b4a54fbf66 |
children | 94509abd0ef0 |
line wrap: on
line diff
--- a/tests/automated/test-harness.el Sun Sep 30 21:50:52 2007 +0000 +++ b/tests/automated/test-harness.el Mon Oct 01 08:07:57 2007 +0000 @@ -285,6 +285,10 @@ ,quoted-body ',expected-error) (incf no-error-failures)) (,expected-error + ;; #### Damn, this binding doesn't capture frobs, eg, for + ;; invalid_argument() ... you only get the REASON. And for + ;; wrong_type_argument(), there's no reason only FROBs. + ;; If this gets fixed, fix tests in regexp-tests.el. (let ((error-message (second error-info))) (if (string-match ,expected-error-regexp error-message) (progn