branch: externals/xr commit d0c434d2c5511d372741e351620e9fe90535e246 Author: Mattias Engdegård <matti...@acm.org> Commit: Mattias Engdegård <matti...@acm.org>
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)