parent
9ea55eccbb
commit
49db2a08ba
4 changed files with 18 additions and 1 deletions
10
tests/nimble/tnimblepathdollarfail.nim
Normal file
10
tests/nimble/tnimblepathdollarfail.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
errmsg: "cannot open file: pkgA/module"
|
||||
"""
|
||||
import pkgA/module as A
|
||||
import pkgB/module as B
|
||||
import pkgC/module as C
|
||||
|
||||
doAssert pkgATest() == 1, "Simple pkgA-0.1.0 wasn't added to path correctly."
|
||||
doAssert pkgBTest() == 0xDEADBEEF, "pkgB-#head wasn't picked over pkgB-0.1.0"
|
||||
doAssert pkgCTest() == 0xDEADBEEF, "pkgC-#head wasn't picked over pkgC-#aa11"
|
||||
Loading…
Add table
Add a link
Reference in a new issue