Fixes tests once and for all.
This commit is contained in:
parent
87f4ad106a
commit
736ed97974
1 changed files with 3 additions and 8 deletions
|
|
@ -42,18 +42,13 @@ proc inLines(lines: seq[string], line: string): bool =
|
||||||
if line.normalize in i.normalize: return true
|
if line.normalize in i.normalize: return true
|
||||||
|
|
||||||
test "can build with #head and versioned package (#289)":
|
test "can build with #head and versioned package (#289)":
|
||||||
# Clear nimble dir.
|
|
||||||
removeDir(installDir)
|
|
||||||
createDir(installDir)
|
|
||||||
|
|
||||||
cd "issue289":
|
cd "issue289":
|
||||||
check execNimble(["install", "-y"]).exitCode == QuitSuccess
|
check execNimble(["install", "-y"]).exitCode == QuitSuccess
|
||||||
|
|
||||||
test "can validate package structure (#144)":
|
check execNimble(["uninstall", "issue289", "-y"]).exitCode == QuitSuccess
|
||||||
# Clear nimble dir.
|
check execNimble(["uninstall", "packagea", "-y"]).exitCode == QuitSuccess
|
||||||
removeDir(installDir)
|
|
||||||
createDir(installDir)
|
|
||||||
|
|
||||||
|
test "can validate package structure (#144)":
|
||||||
# Test that no warnings are produced for correctly structured packages.
|
# Test that no warnings are produced for correctly structured packages.
|
||||||
for package in ["a", "b", "c"]:
|
for package in ["a", "b", "c"]:
|
||||||
cd "packageStructure/" & package:
|
cd "packageStructure/" & package:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue