From efb5ec3e734fa4042555c41fde7a117b4b83ba46 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 24 Jan 2015 13:29:37 +0100 Subject: proper 'space in dir' test --- tests/dir with space/tspace.nim | 3 +++ tests/misc/tspace in filename.nim | 3 --- tests/testament/tester.nim | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 tests/dir with space/tspace.nim delete mode 100644 tests/misc/tspace in filename.nim diff --git a/tests/dir with space/tspace.nim b/tests/dir with space/tspace.nim new file mode 100644 index 000000000..8db4b52f2 --- /dev/null +++ b/tests/dir with space/tspace.nim @@ -0,0 +1,3 @@ +# Test for the compiler to be able to compile a Nim file with spaces in it. + +echo("Successful") \ No newline at end of file diff --git a/tests/misc/tspace in filename.nim b/tests/misc/tspace in filename.nim deleted file mode 100644 index 8db4b52f2..000000000 --- a/tests/misc/tspace in filename.nim +++ /dev/null @@ -1,3 +0,0 @@ -# Test for the compiler to be able to compile a Nim file with spaces in it. - -echo("Successful") \ No newline at end of file diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index ba3abd1bd..b37f72f04 100644 --- a/tests/testament/tester.nim +++ b/tests/testament/tester.nim @@ -57,7 +57,7 @@ let proc callCompiler(cmdTemplate, filename, options: string, target: TTarget): TSpec = let c = parseCmdLine(cmdTemplate % ["target", targetToCmd[target], - "options", options, "file", filename]) + "options", options, "file", filename.quoteShell]) var p = startProcess(command=c[0], args=c[1.. -1], options={poStdErrToStdOut, poUseShell}) let outp = p.outputStream -- cgit 1.4.1-2-gfad0