Fix the tests correctly this time (hopefully).

This commit is contained in:
Dominik Picheta 2016-12-27 15:51:05 +00:00
commit 87f4ad106a

View file

@ -51,8 +51,8 @@ test "can build with #head and versioned package (#289)":
test "can validate package structure (#144)":
# Clear nimble dir.
#removeDir(installDir)
#createDir(installDir)
removeDir(installDir)
createDir(installDir)
# Test that no warnings are produced for correctly structured packages.
for package in ["a", "b", "c"]:
@ -86,10 +86,6 @@ test "can validate package structure (#144)":
else:
assert false
# Clear nimble dir.
removeDir(installDir)
createDir(installDir)
test "issue 129 (installing commit hash)":
let arguments = @["install", "-y",
"https://github.com/nimble-test/packagea.git@#1f9cb289c89"]