diff options
author | Miran <narimiran@users.noreply.github.com> | 2018-10-16 10:50:10 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-10-16 10:50:10 +0200 |
commit | 749dbce4c69224f5464908d8f714291f17aa60fa (patch) | |
tree | cc91326ef536f15d8d9aa97efab4fc8473d093c7 /tests/seq/tshallowseq.nim | |
parent | f04c93b5dd1ee5e185f6849ad8116d08a687026d (diff) | |
download | Nim-749dbce4c69224f5464908d8f714291f17aa60fa.tar.gz |
Merge tests into a larger file (part 5 of ∞) (#9368)
* merge magics * merge metatype tests * merge method tests * merge objects tests * change `import future` to `import sugar` Nim in Action tests are left with `import future`, to ensure compatibility. * merge overload tests * merge proc tests * merge procvar tests * merge range tests * merge seq tests * merge sets tests * remove wrong assert from `tsets3` * fix `jsTests` * better fix
Diffstat (limited to 'tests/seq/tshallowseq.nim')
-rw-r--r-- | tests/seq/tshallowseq.nim | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/seq/tshallowseq.nim b/tests/seq/tshallowseq.nim deleted file mode 100644 index 9a8bdb954..000000000 --- a/tests/seq/tshallowseq.nim +++ /dev/null @@ -1,17 +0,0 @@ -discard """ - output: '''@[1, 42, 3] -@[1, 42, 3] -''' -""" -proc xxx() = - var x: seq[int] = @[1, 2, 3] - var y: seq[int] - - system.shallowCopy(y, x) - - y[1] = 42 - - echo y - echo x - -xxx() |