summary refs log tree commit diff stats
path: root/tests/nimble/tnimblepathlink.nim
blob: 5b2c7cb5bf562a8545b9630cebfd72910525c9de (plain) (blame)
1
2
3
4
5
6
7
8
9
discard """
  action: run
  cmd: "nim $target --nimblePath:$fileDir/nimbleDir/linkedPkgs $options $file"
"""
import pkgA/module as A
import pkgB/module as B

doAssert pkgATest() == 1, "Simple linked pkgA-0.1.0 wasn't added to path correctly."
doAssert pkgBTest() == 0xDEADBEEF, "linked pkgB-#head wasn't picked over pkgB-0.1.0"