Skip to content

Commit 7dfe1af

Browse files
committed
TESTS: enhanced tests for issue 2319
metaeducation/rebol-issues#2319
1 parent 5ed43b4 commit 7dfe1af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tests/units/lexer-test.r3

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ do %../quick-test.r3
2020
;above is now consistent with:
2121
--test-- "sign-before-string" --assert [- "a"] = (load {-"a"})
2222
--test-- "sign-before-block" --assert [- []] = (load {-[]})
23+
;and can be used correctly in charsets
24+
--test-- "lexer-charset-with-tight-range"
25+
--assert "make bitset! #{0000000000000000000000007FFFFFE0}" = mold charset [#"a"-#"z"] ;this failed before fix of #2319
26+
--assert "make bitset! #{0000000000000000000000007FFFFFE0}" = mold charset [#"a" - #"z"]
2327

2428
===end-group===
2529

0 commit comments

Comments
 (0)