mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
Fix unicode character ambiguity
'LATIN SMALL LETTER A' => 'CYRILLIC SMALL LETTER A'
This commit is contained in:
parent
91c85101e8
commit
b82adb42db
1 changed files with 1 additions and 1 deletions
|
@ -3323,7 +3323,7 @@ version(unittest)
|
||||||
import std.conv, std.range, std.algorithm;
|
import std.conv, std.range, std.algorithm;
|
||||||
//ensure constructor handles bad ordering and overlap
|
//ensure constructor handles bad ordering and overlap
|
||||||
auto c1 = CodepointSet('а', 'я'+1, 'А','Я'+1);
|
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));
|
assert(ch in c1, to!string(ch));
|
||||||
|
|
||||||
//contiguos
|
//contiguos
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue