punch the linter in the face
This commit is contained in:
parent
6367b7449e
commit
c37ab3b9f2
@ -172,12 +172,12 @@ func TestConvertNPZ(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if ggml == nil {
|
||||
t.Fatal(fmt.Errorf("ggla didn't convert to ggml correctly"))
|
||||
t.Fatalf("ggla didn't convert to ggml correctly")
|
||||
}
|
||||
|
||||
kv := ggml.KV()
|
||||
if kv == nil {
|
||||
t.Fatal(fmt.Errorf("no lora KVs were set"))
|
||||
t.Fatalf("no lora KVs were set")
|
||||
}
|
||||
|
||||
r, ok := kv["r"]
|
||||
@ -191,11 +191,8 @@ func TestConvertNPZ(t *testing.T) {
|
||||
}
|
||||
|
||||
gts := ggml.Tensors()
|
||||
if >s == nil {
|
||||
t.Fatal(fmt.Errorf("no tensors were found"))
|
||||
}
|
||||
if len(ts) != len(gts.Items) {
|
||||
t.Errorf("got: %d want: %d tensors in ggla", len(gts.Items), len(ts))
|
||||
if len(ts) != len(gts.Items) { //nolint:errcheck
|
||||
t.Fatalf("got: %d want: %d tensors in ggla", len(gts.Items), len(ts))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user