diff options
| author | Tino Calancha | 2016-11-24 10:39:33 +0900 |
|---|---|---|
| committer | Tino Calancha | 2016-11-24 10:39:33 +0900 |
| commit | 561ce852ad0a90aac07fd16cd591ca8a408043c3 (patch) | |
| tree | d6732fc08664add4f990b0fe53bc78b56ef38557 | |
| parent | f8e1b18d37e46f320ba0bd81efbbcf557c1f64d7 (diff) | |
| download | emacs-561ce852ad0a90aac07fd16cd591ca8a408043c3.tar.gz emacs-561ce852ad0a90aac07fd16cd591ca8a408043c3.zip | |
* test/lisp/ibuffer-tests.el (ibuffer-test-Bug24997): Add test for Bug#24997.
| -rw-r--r-- | test/lisp/ibuffer-tests.el | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/lisp/ibuffer-tests.el b/test/lisp/ibuffer-tests.el index a99a5754e2f..3a4def3a2b0 100644 --- a/test/lisp/ibuffer-tests.el +++ b/test/lisp/ibuffer-tests.el | |||
| @@ -32,6 +32,22 @@ | |||
| 32 | (symbol-function | 32 | (symbol-function |
| 33 | 'ibuffer-mark-unsaved-buffers)))) | 33 | 'ibuffer-mark-unsaved-buffers)))) |
| 34 | 34 | ||
| 35 | (ert-deftest ibuffer-test-Bug24997 () | ||
| 36 | "Test for http://debbugs.gnu.org/24997 ." | ||
| 37 | :expected-result :failed | ||
| 38 | (ibuffer) | ||
| 39 | (let ((orig ibuffer-filtering-qualifiers)) | ||
| 40 | (unwind-protect | ||
| 41 | (progn | ||
| 42 | (setq ibuffer-filtering-qualifiers | ||
| 43 | '((size-gt . 10) | ||
| 44 | (used-mode . lisp-interaction-mode))) | ||
| 45 | (ibuffer-update nil t) | ||
| 46 | (ignore-errors (ibuffer-decompose-filter)) | ||
| 47 | (should (cdr ibuffer-filtering-qualifiers))) | ||
| 48 | (setq ibuffer-filtering-qualifiers orig) | ||
| 49 | (ibuffer-update nil t)))) | ||
| 50 | |||
| 35 | (ert-deftest ibuffer-test-Bug25000 () | 51 | (ert-deftest ibuffer-test-Bug25000 () |
| 36 | "Test for http://debbugs.gnu.org/25000 ." | 52 | "Test for http://debbugs.gnu.org/25000 ." |
| 37 | :expected-result :failed | 53 | :expected-result :failed |