summary refs log tree commit diff stats
path: root/tests/range/tsubrange3.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/range/tsubrange3.nim')
-rw-r--r--tests/range/tsubrange3.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/range/tsubrange3.nim b/tests/range/tsubrange3.nim
index f5bb2f161..55eb4618b 100644
--- a/tests/range/tsubrange3.nim
+++ b/tests/range/tsubrange3.nim
@@ -1,6 +1,5 @@
 discard """
-  file: "tsubrange.nim"
-  outputsub: "value out of range: 50 [RangeError]"
+  outputsub: "value out of range: 50 notin 0 .. 40 [RangeDefect]"
   exitcode: "1"
 """