~jameinel/juju-core/api-registry-tracks-type

« back to all changes in this revision

Viewing changes to cmd/supercommand_test.go

Merge trunk and resolve conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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!
 
112
        c.Assert(bufferString(ctx.Stderr), Matches, `^.* ERROR command failed: BAM!
113
113
error: BAM!
114
114
`)
115
115
}