Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
model: linter fixup in Amount test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed May 12, 2020
1 parent 484a53e commit 7a5dd94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/model/amount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7a5dd94

Please sign in to comment.