Substitute $nimbleDir in --path flags (#12750)
This commit is contained in:
parent
abe07eb75d
commit
010067f3cc
6 changed files with 30 additions and 3 deletions
7
tests/nimble/tnimblepathdollar.nim
Normal file
7
tests/nimble/tnimblepathdollar.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
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