summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lisp/emacs-lisp/bytecomp-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el
index 5bd36898702..94ecdc54daa 100644
--- a/test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/test/lisp/emacs-lisp/bytecomp-tests.el
@@ -686,6 +686,7 @@ literals (Bug#20852)."
(ert-deftest bytecomp-test--switch-duplicates ()
"Check that duplicates in switches are eliminated correctly (bug#35770)."
+ :expected-result (if byte-compile-cond-use-jump-table :passed :failed)
(dolist (params
'(((lambda (x)
(cond ((eq x 'a) 111)