fix lint error
This commit is contained in:
parent
85e39191b8
commit
6c7c3faf28
@ -57,7 +57,7 @@ func TestMachineAddSubscription(t *testing.T) {
|
||||
s.AddTransition("connect", "disconnected", "start_connection")
|
||||
assert.Nil(t, s.AddSubscription("connect", x))
|
||||
s.AddModel(setupModel("disconnected"))
|
||||
s.Trigger("connect")
|
||||
assert.Nil(t, s.Trigger("connect"))
|
||||
exitMessage := <-*x.(*EventChannel)
|
||||
enterMessage := <-*x.(*EventChannel)
|
||||
if exitMessage.on == EXITSTATEEVENT && exitMessage.source == "disconnected" {
|
||||
|
Loading…
Reference in New Issue
Block a user