summaryrefslogtreecommitdiffstats
path: root/tests/012/parse.tl
blob: d28f90576a888f14d1bc638a515bf50b3b7c7bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(load "../common")

(test (read `"@(str-buf #b'EDB081')"`)
      "\xDCED\xDCB0\xDC81")

(test (read `"@(str-buf #b'F3FF')"`)
      "\xDCF3\xDCFF")

(test (regex-parse (str-buf #b'EDB081'))
      (compound "\xDCED\xDCB0\xDC81"))

(test (regex-parse (str-buf #b'F3FF'))
      (compound #\xDCF3 #\xDCFF))