You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dolmen
changed the title
test panicked: reflect: Call with too few input arguments
suite: missing signature check before calling Test* method
Nov 22, 2023
If a test method on a suite has a parameter there is a panic:
When running this you get the following panic:
I think the error handling could be more clear here. Something like "method TestUpdateSomething on SomeTestSuite contains arguments"
Here is the go.dev link: https://go.dev/play/p/cNNfqH5QpeQ
I can create a pull request if this change is wanted?
Edit: Some more context. I run into this problem when I am porting old test methods to a suite.
The text was updated successfully, but these errors were encountered: