Browse Source

If devices nil don't move forward

Piotr Czajkowski 3 năm trước cách đây
mục cha
commit
aac6542bab
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"