Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuandrew committed Nov 19, 2024
1 parent 9bf7b1d commit 8249c75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions temporalcli/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,3 +600,9 @@ func TestUnknownCommandExitsNonzero(t *testing.T) {
res := commandHarness.Execute("blerkflow")
assert.Contains(t, res.Err.Error(), "unknown command")
}

func TestHiddenAliasLogFormat(t *testing.T) {
commandHarness := NewCommandHarness(t)
res := commandHarness.Execute("workflow", "list", "--log-format", "pretty")
assert.NoError(t, res.Err)
}

0 comments on commit 8249c75

Please sign in to comment.