Explorar el Código

If devices nil don't move forward

Piotr Czajkowski hace 3 años
padre
commit
aac6542bab
Se han modificado 1 ficheros con 1 adiciones y 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"