diff options
| author | Eugen Wissner <belka@caraus.de> | 2017-05-12 21:10:22 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2017-05-12 21:10:22 +0200 |
| commit | 29d883150ecdc2e368ac9c75dc0c1f0c0d9370f6 (patch) | |
| tree | 01d7950909fb032e6008b33d6021828b31faa4d8 /source | |
| parent | e2bed0cfcb1ceb2373f200d53fd73a246fe6eaff (diff) | |
| download | tanya-29d883150ecdc2e368ac9c75dc0c1f0c0d9370f6.tar.gz | |
Fix unittests on 2.072 and 2.071
Diffstat (limited to 'source')
| -rw-r--r-- | source/tanya/container/string.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/tanya/container/string.d b/source/tanya/container/string.d index 5ae4cbc..435b7b5 100644 --- a/source/tanya/container/string.d +++ b/source/tanya/container/string.d @@ -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 .. $], ","); |
