From 374f62614a67f6f6701213366c0b112857d66e18 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Fri, 31 May 2019 14:49:58 -0500 Subject: [PATCH] Improved test naming --- tests/tester.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tester.nim b/tests/tester.nim index 1106998..1448869 100644 --- a/tests/tester.nim +++ b/tests/tester.nim @@ -71,7 +71,7 @@ proc inLines(lines: seq[string], line: string): bool = for i in lines: if line.normalize in i.normalize: return true -test "caching works": +test "caching of nims and ini detects changes": cd "caching": var (output, exitCode) = execNimble("dump") check output.contains("0.1.0") @@ -82,7 +82,7 @@ test "caching works": check output.contains("0.2.0") writeFile(nfile, readFile(nfile).replace("0.2.0", "0.1.0")) -test "recursion works": +test "tasks can be called recursively": cd "recursive": check execNimble("recurse").exitCode == QuitSuccess