Conditionalize result of a bytecomp test
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-test--switch-duplicates): Apparently the result depends on byte-compile-cond-use-jump-table.
This commit is contained in:
parent
fb5d70c6fc
commit
95dce77c5e
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue