Преглед изворни кода

If devices nil don't move forward

Piotr Czajkowski пре 3 година
родитељ
комит
aac6542bab
1 измењених фајлова са 1 додато и 1 уклоњено
  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"