From d48ced5acf4106b5f9f645e36d4be4100b4fc124 Mon Sep 17 00:00:00 2001 From: Victor Quinn Date: Wed, 15 Feb 2017 19:06:17 -0500 Subject: [PATCH] Fix some grammar, go vet issues --- decimal_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/decimal_test.go b/decimal_test.go index 36bd7bf..46b1781 100644 --- a/decimal_test.go +++ b/decimal_test.go @@ -1428,7 +1428,7 @@ func TestNullDecimal_Scan(t *testing.T) { if !a.Valid { t.Errorf("%s is null", a.Decimal) } else if !a.Decimal.Equals(expected) { - t.Errorf("%s does not equal to %s", a, expected) + t.Errorf("%v does not equal %v", a, expected) } } @@ -1451,7 +1451,7 @@ func TestNullDecimal_Scan(t *testing.T) { if !a.Valid { t.Errorf("%s is null", a.Decimal) } else if !a.Decimal.Equals(expected) { - t.Errorf("%s does not equal to %s", a, expected) + t.Errorf("%v does not equal %v", a, expected) } } @@ -1470,7 +1470,7 @@ func TestNullDecimal_Scan(t *testing.T) { if !a.Valid { t.Errorf("%s is null", a.Decimal) } else if !a.Decimal.Equals(expected) { - t.Errorf("%s does not equal to %s", a, expected) + t.Errorf("%v does not equal %v", a, expected) } } } @@ -1497,6 +1497,6 @@ func TestNullDecimal_Value(t *testing.T) { if err != nil { t.Errorf("NullDecimal(12.34).Value() failed with message: %s", err) } else if value.(string) != expected { - t.Errorf("%s does not equal to %s", a, expected) + t.Errorf("%v does not equal %v", a, expected) } }