Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsaha committed Aug 24, 2023
1 parent 89221d4 commit 89a379b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ func TestCliUsage(t *testing.T) {
}
if !reflect.DeepEqual(expectedUsage, gotUsage) {
t.Errorf("expected and got data mismatch. ..writing expected output to %[1]s", goldenFilepathNew)
t.Log("expected: ", expectedUsage)
t.Log()
t.Log("got: ", gotUsage)
t.Log()
if err := writeExpectedGoldenFile(goldenFilepathNew, gotUsage); err != nil {
t.Fatal("Error writing file", err)
}
Expand Down

0 comments on commit 89a379b

Please sign in to comment.