]> git.eshelyaron.com Git - emacs.git/commitdiff
Mark a specific electric-pair-mode test as an expected failure
authorJoão Távora <joaotavora@gmail.com>
Tue, 19 Jun 2018 01:49:54 +0000 (02:49 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 19 Jun 2018 01:53:10 +0000 (02:53 +0100)
See https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00535.html

* test/lisp/electric-tests.el
(electric-pair-whitespace-chomping-2-at-point-4-in-c++-mode-in-strings):
Mark as failing.

test/lisp/electric-tests.el

index 2f64b2c08e5cef9ce7bc35acfa034674f1d7c537..7e94dfa496ca5b58ca564033a946ae3494b1dbe0 100644 (file)
@@ -391,6 +391,16 @@ baz\"\""
   :bindings '((electric-pair-skip-whitespace . chomp))
   :test-in-comments nil)
 
+
+;; A test failure introduced by some changes in CC mode.  Hopefully CC
+;; mode will sort this out eventually, using some new e-p-m machinery.
+;; See
+;; https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00535.html
+(setf
+ (ert-test-expected-result-type
+  (ert-get-test 'electric-pair-whitespace-chomping-2-at-point-4-in-c++-mode-in-strings))
+ :failed)
+
 (define-electric-pair-test whitespace-chomping-dont-cross-comments
   " ( \n\t\t\n  )  " "--)------" :expected-string " () \n\t\t\n  )  "
   :expected-point 4