diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-18 23:48:12 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-18 23:48:12 -0500 |
commit | fa741e65856124cec0fba2c5a5c222f1469aaf8d (patch) | |
tree | 06fe7571d0111df9630d35993e1cc9f80a27d520 /light_test.go | |
parent | 6a4c4aef9b6fecaf568fe255fe6a588aff396630 (diff) |
Moved functions, rearranged Bridge.funcs into bridge.go file
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 22b977e..16c4e94 100644 --- a/light_test.go +++ b/light_test.go @@ -19,7 +19,7 @@ func TestSetLightState(t *testing.T) { bridge.Login("427de8bd6d49f149c8398e4fc08f") nameTest, _ := bridge.GetLightByName("Desk Light") // Also tests GetAllLights _ = nameTest - selectedLight, _ := GetLightByIndex(bridge, 7) + selectedLight, _ := bridge.GetLightByIndex(7) selectedLight.On() time.Sleep(time.Second) |