Fix issue #597 - error if bin is a source file
This commit is contained in:
parent
be83dcdca9
commit
016f42c34a
4 changed files with 20 additions and 0 deletions
|
|
@ -585,6 +585,12 @@ test "can pass args with spaces to Nim (#351)":
|
|||
checkpoint output
|
||||
check exitCode == QuitSuccess
|
||||
|
||||
test "error if `bin` is a source file (#597)":
|
||||
cd "issue597":
|
||||
var (output, exitCode) = execNimble("build")
|
||||
check exitCode != QuitSuccess
|
||||
check output.contains("entry should not be a source file: test.nim")
|
||||
|
||||
suite "reverse dependencies":
|
||||
test "basic test":
|
||||
cd "revdep/mydep":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue