diff options
| author | João Távora | 2018-06-19 02:49:54 +0100 |
|---|---|---|
| committer | João Távora | 2018-06-19 02:53:10 +0100 |
| commit | d37d30cef5bbbdf8d17315835126d76d4681b22a (patch) | |
| tree | 80074b1405dea8f475c6fe7b4962056e446835f3 | |
| parent | 5b9cc1508e80e7e39ffea0395c1e9128405514dc (diff) | |
| download | emacs-d37d30cef5bbbdf8d17315835126d76d4681b22a.tar.gz emacs-d37d30cef5bbbdf8d17315835126d76d4681b22a.zip | |
Mark a specific electric-pair-mode test as an expected failure
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.
| -rw-r--r-- | test/lisp/electric-tests.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lisp/electric-tests.el b/test/lisp/electric-tests.el index 2f64b2c08e5..7e94dfa496c 100644 --- a/test/lisp/electric-tests.el +++ b/test/lisp/electric-tests.el | |||
| @@ -391,6 +391,16 @@ baz\"\"" | |||
| 391 | :bindings '((electric-pair-skip-whitespace . chomp)) | 391 | :bindings '((electric-pair-skip-whitespace . chomp)) |
| 392 | :test-in-comments nil) | 392 | :test-in-comments nil) |
| 393 | 393 | ||
| 394 | |||
| 395 | ;; A test failure introduced by some changes in CC mode. Hopefully CC | ||
| 396 | ;; mode will sort this out eventually, using some new e-p-m machinery. | ||
| 397 | ;; See | ||
| 398 | ;; https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00535.html | ||
| 399 | (setf | ||
| 400 | (ert-test-expected-result-type | ||
| 401 | (ert-get-test 'electric-pair-whitespace-chomping-2-at-point-4-in-c++-mode-in-strings)) | ||
| 402 | :failed) | ||
| 403 | |||
| 394 | (define-electric-pair-test whitespace-chomping-dont-cross-comments | 404 | (define-electric-pair-test whitespace-chomping-dont-cross-comments |
| 395 | " ( \n\t\t\n ) " "--)------" :expected-string " () \n\t\t\n ) " | 405 | " ( \n\t\t\n ) " "--)------" :expected-string " () \n\t\t\n ) " |
| 396 | :expected-point 4 | 406 | :expected-point 4 |