mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-17 04:13:22 +00:00
cleanup some error handling lint issues
This commit is contained in:
@@ -209,6 +209,13 @@ func TestBadScriptJS(t *testing.T) {
|
||||
Params: test.params,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
if test.errorString != err.Error() {
|
||||
t.Fatalf("script.js got error '%s', expected '%s'", err.Error(), test.errorString)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
got, err := processorInstance.Process(t.Context(), common.WrappedPayload{Payload: test.payload})
|
||||
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user