From 7a5dd9447fefe04b5256045d3a113b63d0cd7033 Mon Sep 17 00:00:00 2001 From: Adam Shannon Date: Tue, 12 May 2020 17:17:20 -0500 Subject: [PATCH] model: linter fixup in Amount test --- pkg/model/amount_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/model/amount_test.go b/pkg/model/amount_test.go index d497ae6d9..615defa06 100644 --- a/pkg/model/amount_test.go +++ b/pkg/model/amount_test.go @@ -251,6 +251,9 @@ func TestAmount__plus(t *testing.T) { func TestAmount__validate(t *testing.T) { amt := &Amount{} + if err := amt.Validate(); err == nil { + t.Error("expected error") + } amt = nil if err := amt.Validate(); err == nil { t.Error("expected error")