From 927de32d8dbb1aa695fb8aff3266d5a68928ac78 Mon Sep 17 00:00:00 2001 From: Felix Krause Date: Wed, 30 Nov 2016 18:05:47 +0100 Subject: [PATCH] Reverted accidentally commited changes --- test/tquickstart.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tquickstart.nim b/test/tquickstart.nim index b408f70..5c8180a 100644 --- a/test/tquickstart.nim +++ b/test/tquickstart.nim @@ -103,7 +103,7 @@ proc testsFor(path: string, root: bool = true, titlePrefix: string = ""): NimNode {.compileTime.} = result = newStmtList() let - baseDir = parentDir(staticExec("pwd")) + baseDir = staticExec("pwd") nimPathRaw = staticExec("which nim") nimPath = if nimPathRaw[0] == '/': nimPathRaw else: baseDir / nimPathRaw title = titlePrefix & slurp(baseDir / path / "title").splitLines()[0] @@ -128,4 +128,4 @@ proc testsFor(path: string, root: bool = true, titlePrefix: string = ""): macro genTests(): untyped = testsFor("doc/snippets/quickstart") -genTests() +genTests() \ No newline at end of file