mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
refactor: change to t.Fatal(err) (#1081)
This commit is contained in:
@@ -98,7 +98,7 @@ func getMockRevive(t *testing.T) *revivelib.Revive {
|
||||
revivelib.NewExtraRule(&mockRule{}, lint.RuleConfig{}),
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatal(err.Error())
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
return revive
|
||||
|
||||
Reference in New Issue
Block a user