emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/xr d0c434d 1/3: Add missing xr-lint unit test


From: Mattias Engdegård
Subject: [elpa] externals/xr d0c434d 1/3: Add missing xr-lint unit test
Date: Fri, 15 Mar 2019 13:17:26 -0400 (EDT)

branch: externals/xr
commit d0c434d2c5511d372741e351620e9fe90535e246
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>

    Add missing xr-lint unit test
---
 xr-test.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xr-test.el b/xr-test.el
index d4e2d48..c90258a 100644
--- a/xr-test.el
+++ b/xr-test.el
@@ -347,6 +347,8 @@
                    (16 . "Ranges `a-e' and `b-d' overlap")
                    (22 . "Ranges `g-k' and `i-n' overlap")
                    (29 . "Character `3' included in range `3-7'"))))
+  (should (equal (xr-lint "[a[:digit:]b[:punct:]c[:digit:]]")
+                 '((22 . "Duplicated character class `[:digit:]'"))))
   )
 
 (provide 'xr-test)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]