multi: update linter, fix issues

This commit is contained in:
Oliver Gugger 2023-09-28 13:16:01 +02:00
parent bac1416636
commit 08026dab93
No known key found for this signature in database
GPG key ID: 8E4256593F177720
25 changed files with 525 additions and 346 deletions

View file

@ -88,8 +88,9 @@ func TestStateMachine_ActionError(t *testing.T) {
// Add a Transition to State2 if the Action on Stat2 fails.
// The new StateMap looks like this:
// State1 -> Event1 -> State2
// State2 -> OnError -> ErrorState
// State1 -> Event1 -> State2
//
// State2 -> OnError -> ErrorState
states["State2"] = State{
Action: ctx.errorAction,
Transitions: Transitions{