Fix unittests on 2.072 and 2.071

This commit is contained in:
Eugen Wissner 2017-05-12 21:10:22 +02:00
parent e2bed0cfcb
commit 29d883150e
1 changed files with 3 additions and 3 deletions

View File

@ -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 .. $], ",");