Open rogpeppe opened 3 years ago
I investigated this a bit. It seems that the reason for the panic is that
there is no target
set here which seems to be because there is no package in the current (top level) directory (this condition is never triggered.
Thus, adding a file dummy.go
containing package dummy
in the top level directory is a workaround for the panic.
What should the target be if there's no package in the current directory? I've probably misunderstood what "target" means here, but... does it even make sense to have a single target when the tests in every package have their own type universe?
commit 6fb3311e1224f1af9839bdef5161e043863fe93f
While trying to create minimal example to demonstrate #9, I found the following panic. Reproduce by running the testscript command:
I see this panic: