summary refs log tree commit diff stats
path: root/tests/system
diff options
context:
space:
mode:
authorHeiko Nickerl <dev@hnicke.de>2021-06-20 17:56:33 +0200
committerGitHub <noreply@github.com>2021-06-20 08:56:33 -0700
commit92cb765714325703d1a8e1b0409bfcd1b17af103 (patch)
tree42d0acf856e744f6105fb16c9b57bbbd0d065b6e /tests/system
parenteb0b323f452f5f06d74a4f747c50ae5115e44eae (diff)
downloadNim-92cb765714325703d1a8e1b0409bfcd1b17af103.tar.gz
Raise IndexDefect when deleting element at out of bounds index (#17821)
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: Heiko Nickerl <mail@hnicke.de>
Co-authored-by: Heiko Nickerl <heiko.nickerl@flipapp.de>
Diffstat (limited to 'tests/system')
-rw-r--r--tests/system/tsystem_misc.nim5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/system/tsystem_misc.nim b/tests/system/tsystem_misc.nim
index cb879d3b3..13b8c18a9 100644
--- a/tests/system/tsystem_misc.nim
+++ b/tests/system/tsystem_misc.nim
@@ -59,11 +59,6 @@ doAssert high(float) > low(float)
 doAssert high(float32) > low(float32)
 doAssert high(float64) > low(float64)
 
-# bug #6710
-var s = @[1]
-s.delete(0)
-
-
 proc foo(a: openArray[int]) =
   for x in a: echo x