Improved test naming
This commit is contained in:
parent
8dc036c896
commit
374f62614a
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ proc inLines(lines: seq[string], line: string): bool =
|
||||||
for i in lines:
|
for i in lines:
|
||||||
if line.normalize in i.normalize: return true
|
if line.normalize in i.normalize: return true
|
||||||
|
|
||||||
test "caching works":
|
test "caching of nims and ini detects changes":
|
||||||
cd "caching":
|
cd "caching":
|
||||||
var (output, exitCode) = execNimble("dump")
|
var (output, exitCode) = execNimble("dump")
|
||||||
check output.contains("0.1.0")
|
check output.contains("0.1.0")
|
||||||
|
|
@ -82,7 +82,7 @@ test "caching works":
|
||||||
check output.contains("0.2.0")
|
check output.contains("0.2.0")
|
||||||
writeFile(nfile, readFile(nfile).replace("0.2.0", "0.1.0"))
|
writeFile(nfile, readFile(nfile).replace("0.2.0", "0.1.0"))
|
||||||
|
|
||||||
test "recursion works":
|
test "tasks can be called recursively":
|
||||||
cd "recursive":
|
cd "recursive":
|
||||||
check execNimble("recurse").exitCode == QuitSuccess
|
check execNimble("recurse").exitCode == QuitSuccess
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue