summary refs log tree commit diff stats
path: root/tests/dir with space/tspace.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dir with space/tspace.nim')
-rw-r--r--tests/dir with space/tspace.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/dir with space/tspace.nim b/tests/dir with space/tspace.nim
new file mode 100644
index 000000000..87a52c271
--- /dev/null
+++ b/tests/dir with space/tspace.nim
@@ -0,0 +1,10 @@
+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")