NonlinearFruit / nuUnit

Testing framework for Nushell
0 stars 0 forks source link

Helpful error when `discover-tests` isn't viewable #11

Closed NonlinearFruit closed 3 months ago

NonlinearFruit commented 3 months ago
> use nuunit
> nuunit
Error:   × Cannot view value
    ╭─[/home/podo/projects/nuUnit/nuunit.nu:31:18]
 30 │     $"($testImportScript)
 31 │     (view source discover-tests)
    ·                  ───────┬──────
    ·                         ╰── this name does not correspond to a viewable value
 32 │     discover-tests '($module)' '($testImportScript)'
    ╰────

This happens when doing use nuunit instead of use nuunit *

NonlinearFruit commented 3 months ago

Removed the existence of this error