Explorar el Código

Version-gate the ido-restrict-to-matches test

This test doesn't seem to work in Emacs 24 and below. Presumably
something changed with ido-restrict-to-matches.
Ryan C. Thompson hace 7 años
padre
commit
3c4fad768f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/test-ido-completing-read+.el

+ 1 - 1
tests/test-ido-completing-read+.el

@@ -522,6 +522,7 @@ also accept a quoted list for the sake of convenience."
            "hello")))
 
       (it "should respect `ido-restrict-to-matches' when doing dynamic updates"
+        (assume (version<= "25" emacs-version))
         (let ((collection
                (list "aaa-ddd-ggg" "aaa-eee-ggg" "aaa-fff-ggg"
                      "bbb-ddd-ggg" "bbb-eee-ggg" "bbb-fff-ggg"
@@ -539,7 +540,6 @@ also accept a quoted list for the sake of convenience."
             (list (cons nil "bbb")
                   (cons nil "eee")))
            :to-equal '("bbb-eee-ggg" "bbb-eee-hhh" "bbb-eee-iii"))
-
           ;; First verify it without a dynamic collection
           (expect
            (with-simulated-input "eee C-SPC bbb C-SPC ggg RET"