mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 17:15:14 -06:00
Fix of assert condition
This commit is contained in:
@@ -80,7 +80,7 @@ func (s *MySuite) TestLightService() {
|
|||||||
slog.Error("Error getting entity state:", err)
|
slog.Error("Error getting entity state:", err)
|
||||||
}
|
}
|
||||||
slog.Info("New state of entity:", "state", newState.State)
|
slog.Info("New state of entity:", "state", newState.State)
|
||||||
assert.Equal(s.T(), initialState.State, newState.State)
|
assert.NotEqual(s.T(), initialState.State, newState.State)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run the test suite
|
// Run the test suite
|
||||||
|
|||||||
Reference in New Issue
Block a user