소스 검색

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"