summary refs log tree commit diff stats
path: root/tests/modules
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-10-22 01:54:27 +0200
committerAraq <rumpf_a@web.de>2014-10-22 01:54:27 +0200
commitfa775473106c393d84f172888da9c23207c89624 (patch)
tree006523e95a7471a16332ce1714f8d8880184327d /tests/modules
parent95595d86a99ea44cbf1be1d2ce0e13ca5cdfb404 (diff)
downloadNim-fa775473106c393d84f172888da9c23207c89624.tar.gz
fixes 'import x as y' regression
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/tselfimport.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/modules/tselfimport.nim b/tests/modules/tselfimport.nim
index f20a40407..ddb3a5b09 100644
--- a/tests/modules/tselfimport.nim
+++ b/tests/modules/tselfimport.nim
@@ -1,8 +1,9 @@
 discard """
   file: "tselfimport.nim"
-  line: 6
+  line: 7
   errormsg: "A module cannot import itself"
 """
+import strutils as su # guard against regression
 import tselfimport #ERROR
 echo("Hello World")