109
109
ctx := testing.Context(c)
110
110
code := cmd.Main(jc, ctx, []string{"blah", "--option", "error", "--debug"})
111
111
c.Assert(code, Equals, 1)
112
c.Assert(bufferString(ctx.Stderr), Matches, `^.* ERROR JUJU:jujutest:blah jujutest blah command failed: BAM!