mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-10 10:07:27 -06:00
Fixed typo in an assert message.
This commit is contained in:
@@ -85,7 +85,7 @@ func (s *MySuite) TestLightService() {
|
|||||||
newState := getEntityState(s, entityId)
|
newState := getEntityState(s, entityId)
|
||||||
assert.NotEqual(c, initState, newState)
|
assert.NotEqual(c, initState, newState)
|
||||||
assert.True(c, s.suiteCtx["entityCallbackInvoked"].(bool))
|
assert.True(c, s.suiteCtx["entityCallbackInvoked"].(bool))
|
||||||
}, 10*time.Second, 1*time.Second, "State of light entity did not change or callback was invoked")
|
}, 10*time.Second, 1*time.Second, "State of light entity did not change or callback was not invoked")
|
||||||
} else {
|
} else {
|
||||||
s.T().Skip("No light entity id provided")
|
s.T().Skip("No light entity id provided")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user