~themue/pyjuju/go-state-remove-relation

« back to all changes in this revision

Viewing changes to cmd/supercommand_test.go

  • Committer: Frank Mueller
  • Date: 2012-05-04 15:31:48 UTC
  • mfrom: (146.1.6 go)
  • Revision ID: themue@gmail.com-20120504153148-y71r3htfmku0y2ls
Commit after merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        ctx := dummyContext(c)
91
91
        code := cmd.Main(jc, ctx, []string{"blah", "--option", "error", "--debug"})
92
92
        c.Assert(code, Equals, 1)
93
 
        c.Assert(str(ctx.Stderr), Matches, `.* JUJU:DEBUG jujutest blah command failed: BAM!
 
93
        c.Assert(bufferString(ctx.Stderr), Matches, `.* JUJU:DEBUG jujutest blah command failed: BAM!
94
94
error: BAM!
95
95
`)
96
96
}