Fixes aporia install. See nim-lang/aporia#136. Refs #311.
This commit is contained in:
parent
08f5032781
commit
d78af3acf1
3 changed files with 38 additions and 34 deletions
|
|
@ -42,6 +42,12 @@ proc inLines(lines: seq[string], line: string): bool =
|
|||
for i in lines:
|
||||
if line.normalize in i.normalize: return true
|
||||
|
||||
test "picks #head when looking for packages":
|
||||
cd "versionClashes" / "aporiaScenario":
|
||||
check execNimble("install", "-y", "--verbose").exitCode == QuitSuccess
|
||||
check execNimble("remove", "aporiascenario", "-y").exitCode == QuitSuccess
|
||||
check execNimble("remove", "packagea", "-y").exitCode == QuitSuccess
|
||||
|
||||
test "can distinguish package reading in nimbleDir vs. other dirs (#304)":
|
||||
cd "issue304" / "package-test":
|
||||
check execNimble("tasks").exitCode == QuitSuccess
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue