summary refs log tree commit diff stats
path: root/tests/discard
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-12-31 06:42:01 -0800
committerAndreas Rumpf <rumpf_a@web.de>2018-12-31 15:42:01 +0100
commitab72d68ec80300ebd0629c5174a78c73f28fc729 (patch)
treeeeb6a50792d66eb87279d2c79600c640a5a26387 /tests/discard
parent7ac1fc81fd119dba3739e05a89ad63fcee405ac1 (diff)
downloadNim-ab72d68ec80300ebd0629c5174a78c73f28fc729.tar.gz
fix off by 1 error in `col` shown by toFileLineCol (#10138)
* fix off by 1 error in `col` shown by toFileLineCol
* fix test failures
Diffstat (limited to 'tests/discard')
-rw-r--r--tests/discard/tneedsdiscard.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/discard/tneedsdiscard.nim b/tests/discard/tneedsdiscard.nim
index 7d2997b3f..d9483947f 100644
--- a/tests/discard/tneedsdiscard.nim
+++ b/tests/discard/tneedsdiscard.nim
@@ -1,5 +1,5 @@
 discard """
-  errormsg: '''expression 'open(f, "arg.txt", fmRead, -1)' is of type 'bool' and has to be discarded; start of expression here: tneedsdiscard.nim(7, 2)'''
+  errormsg: '''expression 'open(f, "arg.txt", fmRead, -1)' is of type 'bool' and has to be discarded; start of expression here: tneedsdiscard.nim(7, 3)'''
   line: 10
 """