fixed some tests

This commit is contained in:
Araq 2011-11-19 12:23:03 +01:00
commit d0772feb08
15 changed files with 135 additions and 128 deletions

View file

@ -1,5 +1,5 @@
import os
# TODO: Rename this module to ``utils``
type
TStatusEnum* = enum
sUnknown = -1, sBuildFailure, sBuildInProgress, sBuildSuccess,
@ -51,5 +51,5 @@ proc `$`*(status: TStatusEnum): string =
return "unknown"
proc makeCommitPath*(platform, hash: string): string =
return platform / "nimrod_" & hash.copy(0, 11) # 11 Chars.
return platform / "nimrod_" & hash.substr(0, 11) # 11 Chars.