summaryrefslogtreecommitdiff
path: root/debian/patches/skip-test-using-map-length.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/skip-test-using-map-length.patch')
-rw-r--r--debian/patches/skip-test-using-map-length.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/skip-test-using-map-length.patch b/debian/patches/skip-test-using-map-length.patch
new file mode 100644
index 0000000..806b011
--- /dev/null
+++ b/debian/patches/skip-test-using-map-length.patch
@@ -0,0 +1,21 @@
+From: Sean Whitton <spwhitton@spwhitton.name>
+Date: Wed, 9 Nov 2016 13:31:52 -0700
+Subject: skip test using map-length
+
+Forwarded: no
+---
+ tests/seq-tests.el | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/seq-tests.el b/tests/seq-tests.el
+index 53930fa..0243499 100644
+--- a/tests/seq-tests.el
++++ b/tests/seq-tests.el
+@@ -351,6 +351,7 @@ Evaluate BODY for each created sequence.
+ ["xxx" "xx" "x"]))))
+
+ (ert-deftest test-seq-random-elt-take-all ()
++ (skip-unless (version< emacs-version "25"))
+ (let ((seq '(a b c d e))
+ (count '()))
+ (should (= 0 (map-length count)))