Skip to content

Commit

Permalink
added tests for [Dump]
Browse files Browse the repository at this point in the history
  • Loading branch information
yassinebenaid committed Aug 17, 2024
1 parent 2e6e8bb commit a6a134f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dumper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,12 @@ func TestDumperFprintReturnsAWriteErrorIfEncountered(t *testing.T) {
}
}

func TestDump(t *testing.T) {
if err := godump.Dump(nil); err != nil {
t.Fatalf("unexpected error returned by Dump")
}
}

func checkFromFeed(t *testing.T, result []byte, feedPath string) {
t.Helper()

Expand Down

0 comments on commit a6a134f

Please sign in to comment.