fix compile error

This commit is contained in:
Aman Gupta 2015-10-07 18:15:59 -07:00
commit 24ec975aa1

View file

@ -175,7 +175,7 @@ proc addResult(r: var TResults, test: TTest,
else: else:
("Failed", "Expected:\n" & expected & "\n\n" & "Gotten:\n" & given) ("Failed", "Expected:\n" & expected & "\n\n" & "Gotten:\n" & given)
var p = startProcess("appveyor", args=["AddTest", test.name & test.options, "-FileName", test.cat.string, "-Outcome", outcome, "-ErrorMessage", msg, "-Duration", $(duration*1000).int], options={poStdErrToStdOut, poUsePath, poParentStreams}) var p = startProcess("appveyor", args=["AddTest", test.name & test.options, "-FileName", test.cat.string, "-Outcome", outcome, "-ErrorMessage", msg, "-Duration", $(duration*1000).int], options={poStdErrToStdOut, poUsePath, poParentStreams})
waitForExit(p) discard waitForExit(p)
close(p) close(p)
proc cmpMsgs(r: var TResults, expected, given: TSpec, test: TTest) = proc cmpMsgs(r: var TResults, expected, given: TSpec, test: TTest) =