~thumper/juju-core/local-provider-aufs-default-off

« back to all changes in this revision

Viewing changes to cmd/version_test.go

  • Committer: Roger Peppe
  • Date: 2013-09-20 18:46:47 UTC
  • mto: This revision was merged to the branch mainline in revision 1863.
  • Revision ID: roger.peppe@canonical.com-20130920184647-ttszh312axplljoj
version: remove alternative versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        code := Main(&VersionCommand{}, ctx, []string{"--format", "json"})
50
50
        c.Check(code, gc.Equals, 0)
51
51
        c.Assert(stderr.String(), gc.Equals, "")
52
 
        c.Assert(stdout.String(), gc.Equals, fmt.Sprintf("%q", version.Current.String())+"\n")
 
52
        c.Assert(stdout.String(), gc.Equals, fmt.Sprintf("%q\n", version.Current.String()))
53
53
}