changeset 5065:133e816778ed

fix expected-buggy test to avoid abort in test file -------------------- ChangeLog entries follow: -------------------- tests/ChangeLog addition: 2010-02-22 Ben Wing <ben@xemacs.org> * automated/syntax-tests.el: Use Known-Bug-Expect-Error, not Known-Bug-Expect-Failure, when error expected; else test suite will abort this file.
author Ben Wing <ben@xemacs.org>
date Mon, 22 Feb 2010 21:16:19 -0600
parents 501b5e84f5a7
children 545ec923b4eb
files tests/ChangeLog tests/automated/syntax-tests.el
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/ChangeLog	Mon Feb 22 21:14:06 2010 -0600
+++ b/tests/ChangeLog	Mon Feb 22 21:16:19 2010 -0600
@@ -1,3 +1,9 @@
+2010-02-22  Ben Wing  <ben@xemacs.org>
+
+	* automated/syntax-tests.el:
+	Use Known-Bug-Expect-Error, not Known-Bug-Expect-Failure, when
+	error expected; else test suite will abort this file.
+	
 2010-02-22  Ben Wing  <ben@xemacs.org>
 
 	* automated/test-harness.el (test-harness-from-buffer):
--- a/tests/automated/syntax-tests.el	Mon Feb 22 21:14:06 2010 -0600
+++ b/tests/automated/syntax-tests.el	Mon Feb 22 21:16:19 2010 -0600
@@ -192,8 +192,9 @@
     (Assert (backward-up-list-moves-point-from-to 20 3))
     (Known-Bug-Expect-Failure
      (Assert (backward-up-list-moves-point-from-to 22 3)))
-    (Known-Bug-Expect-Failure
-     (Assert (backward-up-list-moves-point-from-to 23 3)))
+    (Known-Bug-Expect-Error scan-error
+     (Assert (backward-up-list-moves-point-from-to 23 3))
+     )
     (Assert (backward-up-list-moves-point-from-to 24 3))
     ;; This is maybe a little tricky, since we don't expect the position
     ;; check to happen -- so use an illegal expected position