diff --git a/std/uni.d b/std/uni.d index cbae2ec75..d4ef34683 100644 --- a/std/uni.d +++ b/std/uni.d @@ -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