Fix unittests on 2.072 and 2.071
This commit is contained in:
parent
e2bed0cfcb
commit
29d883150e
@ -1439,8 +1439,8 @@ struct String
|
||||
return inserted;
|
||||
}
|
||||
|
||||
///
|
||||
@nogc @safe unittest
|
||||
/// bringToFront before 2.073 isn't @nogc for chars.
|
||||
@safe unittest
|
||||
{
|
||||
auto s = String("Нельзя казнить помиловать.");
|
||||
s.insertAfter(s[0 .. 27], ",");
|
||||
@ -1469,7 +1469,7 @@ struct String
|
||||
}
|
||||
|
||||
///
|
||||
@nogc @safe unittest
|
||||
@safe unittest
|
||||
{
|
||||
auto s = String("Нельзя казнить помиловать.");
|
||||
s.insertBefore(s[27 .. $], ",");
|
||||
|
Loading…
x
Reference in New Issue
Block a user