Refactoring and many fixes to PR #378. (Broken)
This commit is broken due to a cleanup issue with NimScript eval.
This commit is contained in:
parent
6a851f5b87
commit
301a366dd2
18 changed files with 150 additions and 100 deletions
4
tests/testCommand/testsFail/testing123.nim
Normal file
4
tests/testCommand/testsFail/testing123.nim
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
proc myFunc*() =
|
||||
echo "Executing my func"
|
||||
|
||||
4
tests/testCommand/testsFail/testing123.nimble
Normal file
4
tests/testCommand/testsFail/testing123.nimble
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
version = "0.1.0"
|
||||
author = "John Doe"
|
||||
description = "Nimble Test"
|
||||
license = "BSD"
|
||||
6
tests/testCommand/testsFail/tests/a.nim
Normal file
6
tests/testCommand/testsFail/tests/a.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import testing123, unittest
|
||||
|
||||
test "can compile nimble":
|
||||
echo "First test"
|
||||
myFunc()
|
||||
|
||||
6
tests/testCommand/testsFail/tests/b.nim
Normal file
6
tests/testCommand/testsFail/tests/b.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import testing123, unittest
|
||||
|
||||
test "can compile nimble":
|
||||
echo "Failing Second test"
|
||||
assert(false)
|
||||
|
||||
7
tests/testCommand/testsFail/tests/c.nim
Normal file
7
tests/testCommand/testsFail/tests/c.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import testing123, unittest
|
||||
|
||||
test "can compile nimble":
|
||||
echo "Third test"
|
||||
myFunc()
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue