diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2019-05-20 17:38:03 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2019-05-20 17:38:03 +0200 |
commit | c2cda3ff4025e8c27bdfc2a5279f3b635c8df260 (patch) | |
tree | 20d58564a6aa5dcbd6fc1c9fd94e95738dceeeb7 /test | |
parent | d3a0ddedba53b9e2c99274c8ec125d53f991da5d (diff) | |
download | emacs-c2cda3ff4025e8c27bdfc2a5279f3b635c8df260.tar.gz |
Revert "Allow zero-argument rx `or' and `seq' forms"
This reverts commit b552fc05c231ca6800330a318d3a74ddd0f5a13c.
It caused a bootstrapping failure which I have yet to resolve - sorry.
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/emacs-lisp/rx-tests.el | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/lisp/emacs-lisp/rx-tests.el b/test/lisp/emacs-lisp/rx-tests.el index 6f392d616d1..4a5919edf02 100644 --- a/test/lisp/emacs-lisp/rx-tests.el +++ b/test/lisp/emacs-lisp/rx-tests.el @@ -107,13 +107,7 @@ "ab")) (should (equal (and (string-match (rx (or "a" "ab" "abc")) s) (match-string 0 s)) - "a"))) - ;; Test zero-argument `or'. - (should (equal (rx (or)) regexp-unmatchable))) - -(ert-deftest rx-seq () - ;; Test zero-argument `seq'. - (should (equal (rx (seq)) ""))) + "a")))) (provide 'rx-tests) ;; rx-tests.el ends here. |