# HG changeset patch # User Ben Wing # Date 1266894979 21600 # Node ID 133e816778edb64e8115668d78d4ca74aa2d0cb4 # Parent 501b5e84f5a74c6872562881cd2065536b1b3232 fix expected-buggy test to avoid abort in test file -------------------- ChangeLog entries follow: -------------------- tests/ChangeLog addition: 2010-02-22 Ben Wing * automated/syntax-tests.el: Use Known-Bug-Expect-Error, not Known-Bug-Expect-Failure, when error expected; else test suite will abort this file. diff -r 501b5e84f5a7 -r 133e816778ed tests/ChangeLog --- 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 + + * 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 * automated/test-harness.el (test-harness-from-buffer): diff -r 501b5e84f5a7 -r 133e816778ed tests/automated/syntax-tests.el --- 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