diff options
author | Clyybber <darkmine956@gmail.com> | 2020-07-15 23:33:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-15 23:33:58 +0200 |
commit | 282128ab66b6391c4ab9bc76cd19a63a5bce16f8 (patch) | |
tree | 7a17bb4da894672ee0b2ed6ce98990a962414f2a /tests/arc/tarcmisc.nim | |
parent | 617c1f16d70657fbe4a69d76a2f00b84560af15a (diff) | |
download | Nim-282128ab66b6391c4ab9bc76cd19a63a5bce16f8.tar.gz |
Fix #14994 (#14996)
* Fix #14994 * Revert misplaced "optimization" * Typo
Diffstat (limited to 'tests/arc/tarcmisc.nim')
-rw-r--r-- | tests/arc/tarcmisc.nim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/arc/tarcmisc.nim b/tests/arc/tarcmisc.nim index 2d7e6b455..56aa3ec3b 100644 --- a/tests/arc/tarcmisc.nim +++ b/tests/arc/tarcmisc.nim @@ -21,6 +21,8 @@ whiley ends :( (x: "9") (x: "10") 0 +new line before - @['a'] +new line after - @['a'] closed destroying variable: 20 destroying variable: 10 @@ -243,3 +245,15 @@ l.setParent(l) # bug #14968 import times let currentTime = now().utc + + +# bug #14994 +import sequtils +var newLine = @['a'] +let indent = newSeq[char]() + +echo "new line before - ", newline + +newline.insert(indent, 0) + +echo "new line after - ", newline |