Fix unicode character ambiguity

'LATIN SMALL LETTER A' => 'CYRILLIC SMALL LETTER A'
This commit is contained in:
monarch dodra 2014-02-17 13:06:38 +01:00 committed by Daniel Murphy
parent 91c85101e8
commit b82adb42db

View file

@ -3323,7 +3323,7 @@ version(unittest)
import std.conv, std.range, std.algorithm;
//ensure constructor handles bad ordering and overlap
auto c1 = CodepointSet('а', 'я'+1, 'А','Я'+1);
foreach(ch; chain(iota('a', 'я'+1)), iota('А','Я'+1))
foreach(ch; chain(iota('а', 'я'+1), iota('А','Я'+1)))
assert(ch in c1, to!string(ch));
//contiguos