瀏覽代碼

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"