Skip to content

Commit

Permalink
test: print fully-formatted error in TestNegative
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Jul 5, 2022
1 parent 08d2081 commit 364069c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ func TestNegative(t *testing.T) {

_, err = gen.NewGenerator(spec, gen.Options{})
a.Error(err)
t.Log(err.Error())
t.Logf("%+v", err)
})
}

0 comments on commit 364069c

Please sign in to comment.