cweill / gotests

Automatically generate Go test boilerplate from your source code.
Apache License 2.0
4.97k stars 346 forks source link

Use .Fatalf instead of .Errorf and return in function.tmpl #184

Open JeffFaer opened 1 year ago

JeffFaer commented 1 year ago

The IntelliJ go plugin uses this library to generate test cases. This is one of my (relatively minor) annoyances. It tends to come up a lot in code reviews when I forget/don't change it to be Fatalf instead of Errorf; return