reduce test space by eliminating redundancies in extended codepoint parsing

This commit is contained in:
alisdair sullivan 2013-02-06 22:27:52 -08:00
parent 34ea2ba491
commit 51cafcfb64

View file

@ -649,8 +649,8 @@ extended_codepoints() ->
lists:seq(16#10000, 16#1fffd) ++ [ lists:seq(16#10000, 16#1fffd) ++ [
16#20000, 16#30000, 16#40000, 16#50000, 16#60000, 16#20000, 16#30000, 16#40000, 16#50000, 16#60000,
16#70000, 16#80000, 16#90000, 16#a0000, 16#b0000, 16#70000, 16#80000, 16#90000, 16#a0000, 16#b0000,
16#c0000, 16#d0000, 16#e0000, 16#f0000 16#c0000, 16#d0000, 16#e0000, 16#f0000, 16#100000
] ++ lists:seq(16#100000, 16#10fffd) ]
). ).
noncharacters() -> [ to_fake_utf8(N) || N <- lists:seq(16#fffe, 16#ffff) ]. noncharacters() -> [ to_fake_utf8(N) || N <- lists:seq(16#fffe, 16#ffff) ].