This allows spaces in imports, by using the following syntax: * `import "directory with spaces" / subdir / file`, or * `import "directory with spaces/subdir/file"`
This commit is contained in:
parent
81e5a35d56
commit
fa058773db
3 changed files with 5 additions and 1 deletions
|
|
@ -2,5 +2,9 @@ discard """
|
|||
output: "Successful"
|
||||
"""
|
||||
# Test for the compiler to be able to compile a Nim file with spaces in the directory name.
|
||||
# Also test if import of a directory with a space works.
|
||||
|
||||
import "more spaces" / mspace
|
||||
|
||||
assert tenTimes(5) == 50
|
||||
echo("Successful")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue