M ini_test.go => ini_test.go +1 -1
@@ 34,7 34,7 @@ func TestPanicToErr_nonerr(t *testing.T) {
}()
if want := "ini: panic: foobar!"; err == nil || err.Error() != want {
- t.Errorf("err(%v) = %v; want %q", err, want)
+ t.Errorf("err(%T) = %v; want %q", err, err, want)
}
}
M values_test.go => values_test.go +1 -1
@@ 72,7 72,7 @@ func TestValues_matching(t *testing.T) {
if !reflect.DeepEqual(expected, got) {
t.Errorf("v.Matching(...) = %#v; want %#v", got, expected)
} else {
- t.Log("v.Matching(...) = %#v", got)
+ t.Logf("v.Matching(...) = %#v", got)
}
}