diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-10 20:17:57 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-10 20:17:57 -0500 |
commit | 112202f1d77758cb8c3ed32c88bdfcfef4995f6c (patch) | |
tree | 7576c3aadeb9ac3f4f72a9e8daed09e983a3560e /light_test.go | |
parent | 5b7673cfc13876cde061d454982daac1bafacfd2 (diff) |
Simplified Light.ColorLoop to accept a boolean instead of having on/off/toggle modes.
Diffstat (limited to 'light_test.go')
-rw-r--r-- | light_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/light_test.go b/light_test.go index f988925..98c2030 100644 --- a/light_test.go +++ b/light_test.go @@ -35,7 +35,7 @@ func TestSetLightState(t *testing.T) { time.Sleep(time.Second) selectedLight.Toggle() time.Sleep(time.Second) - selectedLight.ColorLoop() + selectedLight.ColorLoop(false) selectedLight.SetName("Ceiling Fan Outer") } |