Explorar o código

If devices nil don't move forward

Piotr Czajkowski %!s(int64=3) %!d(string=hai) anos
pai
achega
aac6542bab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bullet_test.go

+ 1 - 1
bullet_test.go

@@ -160,7 +160,7 @@ func TestListDevices(t *testing.T) {
 	}
 
 	if devices == nil {
-		t.Error("Devices shouldn't be nil!")
+		t.Fatal("Devices shouldn't be nil!")
 	}
 
 	expectedID := "ujpah72o0sjAoRtnM0jc"