Files
Nim/tests/dir with space/tspace.nim
Miran fa058773db fixes #10042 (allow spaces in import) (#10504)
This allows spaces in imports, by using the following syntax:
* `import "directory with spaces" / subdir / file`, or
* `import "directory with spaces/subdir/file"`
2019-01-31 08:20:00 +01:00

11 lines
262 B
Nim

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")