Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix: fix tests and add comparative comments to overriding-syntax-tabl…

…es branch
  • Loading branch information...
commit 02e104e64a2e891dfbdef5a1e9511783013ac749 1 parent 1d128ef
@capitaomorte authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 autopair-tests.el
View
9 autopair-tests.el
@@ -127,12 +127,13 @@
(define-autopair-simple-predicate-test autopair-keep-least-amount-of-mixed-unbalance
"( ()] " "-(-----" autopair-pair-p "-y-----")
-(define-autopair-simple-predicate-test dont-autopair-to-resolve-mixed-unbalance
- "( ()] " "-[-----" autopair-pair-p "-------")
-
-(define-autopair-simple-predicate-test (autopair-so-as-not-to-worsed-unbalance-situation
+;; this test *passes* in the overriding-syntax-tables branch
+(define-autopair-simple-predicate-test (dont-autopair-to-resolve-mixed-unbalance
:expected-result :failed)
+ "( ()] " "-[-----" autopair-pair-p "-------")
+;; this, in turn, *fails* in the overriding-syntax-tables branch
+(define-autopair-simple-predicate-test autopair-so-as-not-to-worsed-unbalance-situation
"( (]) " "-[-----" autopair-pair-p "-y-----")
(define-autopair-simple-predicate-test skip-over-partially-balanced
Please sign in to comment.
Something went wrong with that request. Please try again.