Skip to content

Commit 5d36bfe

Browse files
committed
adds more hints to see why the file doesnt exists in the ci
1 parent cda72b5 commit 5d36bfe

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/projects/testproject/tests/testwithsuite.nim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ suite "test suite 2":
2020
test "can add 5":
2121
check add(5, 5) == 10
2222

23-
2423
test "can add 6":
2524
check add(5, 5) == 10

tests/ttestrunner.nim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ suite "Test Parser":
1515

1616
test "should be able to retrieve suites and tests from a file":
1717
let file = getCurrentDir() / "tests" / "projects" / "testproject" / "tests" / "testwithsuite.nim"
18+
if not fileExists(file):
19+
echo "File does not exist " & file
20+
echo getCurrentDir()
21+
1822
check fileExists(file)
1923
let testInfo = extractTestInfo(file)
2024
# echo testInfo

0 commit comments

Comments
 (0)