aboutsummaryrefslogtreecommitdiff
path: root/lights_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'lights_test.go')
-rw-r--r--lights_test.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/lights_test.go b/lights_test.go
index ac73d2e..5639630 100644
--- a/lights_test.go
+++ b/lights_test.go
@@ -2,7 +2,6 @@ package hue
import (
"testing"
- "log"
)
func TestGetAllLights(t *testing.T) {
@@ -12,9 +11,5 @@ func TestGetAllLights(t *testing.T) {
func TestGetLight(t *testing.T) {
bridge := NewBridge("192.168.1.128", "319b36233bd2328f3e40731b23479207")
- light , err := GetLight(bridge, "Bathroom Light")
- if err != nil {
- trace("", err)
- }
- log.Println("LIGHT: ", light)
+ GetLight(bridge, "Bathroom Light")
}