Эх сурвалжийг харах

If devices nil don't move forward

Piotr Czajkowski 3 жил өмнө
parent
commit
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 {
 	if devices == nil {
-		t.Error("Devices shouldn't be nil!")
+		t.Fatal("Devices shouldn't be nil!")
 	}
 	}
 
 
 	expectedID := "ujpah72o0sjAoRtnM0jc"
 	expectedID := "ujpah72o0sjAoRtnM0jc"