diff options
author | Araq <rumpf_a@web.de> | 2014-10-22 01:54:27 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-10-22 01:54:27 +0200 |
commit | fa775473106c393d84f172888da9c23207c89624 (patch) | |
tree | 006523e95a7471a16332ce1714f8d8880184327d /tests/modules | |
parent | 95595d86a99ea44cbf1be1d2ce0e13ca5cdfb404 (diff) | |
download | Nim-fa775473106c393d84f172888da9c23207c89624.tar.gz |
fixes 'import x as y' regression
Diffstat (limited to 'tests/modules')
-rw-r--r-- | tests/modules/tselfimport.nim | 3 |
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") |