[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/relint 2ebd33d 04/12: Disable tests requiring Emacs 27
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/relint 2ebd33d 04/12: Disable tests requiring Emacs 27 for the time being (bug #7) |
Date: |
Thu, 30 Jan 2020 10:53:39 -0500 (EST) |
branch: externals/relint
commit 2ebd33daa65678c666c1eda9ed2d5f497c2c3306
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
Disable tests requiring Emacs 27 for the time being (bug #7)
It's unnecessarily restrictive to require an unreleased Emacs version
just in order to hack relint. When Emacs 27 has been released, these
changes can be reverted.
---
test/3.elisp | 9 ++++++---
test/3.expected | 3 ---
test/4.elisp | 12 ++++++------
test/4.expected | 3 ---
4 files changed, 12 insertions(+), 15 deletions(-)
diff --git a/test/3.elisp b/test/3.elisp
index dfe8599..69191c5 100644
--- a/test/3.elisp
+++ b/test/3.elisp
@@ -166,6 +166,9 @@
(and (compare-strings "abc" 0 2 "ABC" 0 2 t)
"[AA]"))))
-(defun test-eval-flatten-tree ()
- (looking-at
- (apply #'concat (flatten-tree '("$" ((("a") "b") ("c"))))))) ; "$abc"
+;;; `flatten-tree' appeared in 27.1; disable this part until that Emacs
+;;; version has been released.
+;;;
+;;;(defun test-eval-flatten-tree ()
+;;; (looking-at
+;;; (apply #'concat (flatten-tree '("$" ((("a") "b") ("c"))))))) ; "$abc"
diff --git a/test/3.expected b/test/3.expected
index bee21d2..a72d52f 100644
--- a/test/3.expected
+++ b/test/3.expected
@@ -43,6 +43,3 @@
3.elisp:164:4: In call to looking-at: Duplicated `A' inside character
alternative (pos 2)
"[AA]"
..^
-3.elisp:171:4: In call to looking-at: Unescaped literal `$' (pos 0)
- "$abc"
- ^
diff --git a/test/4.elisp b/test/4.elisp
index 9213b8c..d5f864c 100644
--- a/test/4.elisp
+++ b/test/4.elisp
@@ -28,12 +28,12 @@
;; Test rx
(defvar my-sub-rx '(one-or-more nonl))
-(defun test-rx ()
- (looking-at (concat (rx (eval my-sub-rx)
- (literal (string ?a ?b))
- (regexp (concat "c" "+"))
- (regex (string ?d)))
- "^")))
+;;;(defun test-rx () ; Emacs 27-specific test; disable until it's out.
+;;; (looking-at (concat (rx (eval my-sub-rx)
+;;; (literal (string ?a ?b))
+;;; (regexp (concat "c" "+"))
+;;; (regex (string ?d)))
+;;; "^")))
;; Test macro expansion
(defmacro my-macro (x)
diff --git a/test/4.expected b/test/4.expected
index 8a6c403..fc3ca31 100644
--- a/test/4.expected
+++ b/test/4.expected
@@ -31,9 +31,6 @@
4.elisp:26:15: In call to looking-at: Unescaped literal `+' (pos 0)
"+c"
^
-4.elisp:32:15: In call to looking-at: Unescaped literal `^' (pos 13)
- ".+ab\\(?:c+\\)d^"
- ...............^
4.elisp:43:15: In call to looking-at: Unescaped literal `^' (pos 1)
"a^"
.^
- [elpa] externals/relint updated (5c6079b -> 3315f03), Mattias Engdegård, 2020/01/30
- [elpa] externals/relint 1103f5c 01/12: Suppress error summary in noninteractive mode if no errors (bug #6), Mattias Engdegård, 2020/01/30
- [elpa] externals/relint 3885977 03/12: Adjust package header, Mattias Engdegård, 2020/01/30
- [elpa] externals/relint f5bbfdb 02/12: Describe exit status in relint-batch doc string, Mattias Engdegård, 2020/01/30
- [elpa] externals/relint 2ebd33d 04/12: Disable tests requiring Emacs 27 for the time being (bug #7),
Mattias Engdegård <=
- [elpa] externals/relint 800f5cc 06/12: Scan function/macro doc strings for hints to regexp arguments, Mattias Engdegård, 2020/01/30
- [elpa] externals/relint ff06875 09/12: Scan mutation and binding of certain known regexp variables, Mattias Engdegård, 2020/01/30
- [elpa] externals/relint dcb474b 10/12: Detect user-defined regexp-returning functions, Mattias Engdegård, 2020/01/30
- [elpa] externals/relint ccfc9e0 08/12: Scan all variables whose name contain '-font-lock-keywords', Mattias Engdegård, 2020/01/30
- [elpa] externals/relint 32dbad1 07/12: Scan arguments to syntax-propertize-{precompile-}rules, Mattias Engdegård, 2020/01/30
- [elpa] externals/relint 641cf71 05/12: Require Emacs 26.1 (for mapcan), Mattias Engdegård, 2020/01/30
- [elpa] externals/relint 5b684ea 11/12: Require xr 1.15, Mattias Engdegård, 2020/01/30
- [elpa] externals/relint 3315f03 12/12: Increment version to 1.13, Mattias Engdegård, 2020/01/30