tnimblepathdollar_fault.nim 457 B

1234567891011121314
  1. discard """
  2. errormsg: "cannot open file: pkgA/module"
  3. """
  4. # see nims file; comment out `switch("noNimblePath")` there and there would be no error
  5. import pkgA/module as A
  6. import pkgB/module as B
  7. import pkgC/module as C
  8. doAssert pkgATest() == 1, "Simple pkgA-0.1.0 wasn't added to path correctly."
  9. doAssert pkgBTest() == 0xDEADBEEF, "pkgB-#head wasn't picked over pkgB-0.1.0"
  10. doAssert pkgCTest() == 0xDEADBEEF, "pkgC-#head wasn't picked over pkgC-#aa11"