~juju-qa/ubuntu/xenial/juju/2.0-rc2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/payload/status/list_test.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        code, stdout, stderr := runList(c, command)
96
96
        c.Assert(code, gc.Equals, 0)
97
97
 
98
 
        c.Check(stdout, gc.Equals, `
99
 
[Unit Payloads]
100
 
UNIT  MACHINE  PAYLOAD-CLASS  STATUS  TYPE  ID  TAGS  
101
 
 
102
 
`[1:])
103
 
        c.Check(stderr, gc.Equals, "")
 
98
        c.Check(stderr, gc.Equals, "No payloads to display.\n")
 
99
        c.Check(stdout, gc.Equals, "")
104
100
}
105
101
 
106
102
func (s *listSuite) TestPatternsOkay(c *gc.C) {