Skip to content

Commit

Permalink
Update test to match changed juju/version behaviour
Browse files Browse the repository at this point in the history
Since commit 4ae6172 (juju/version#3),
version.Number.Tag will never include any digits, so this test was
incorrect.
  • Loading branch information
babbageclunk committed Sep 15, 2016
1 parent 7012195 commit 340c221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta_test.go
Expand Up @@ -539,7 +539,7 @@ func (s *MetaSuite) TestMinJujuVersion(c *gc.C) {
charmMeta := fmt.Sprintf("%s\nmin-juju-version: ", dummyMetadata)
vals := []version.Number{
{Major: 1, Minor: 25},
{Major: 1, Minor: 25, Tag: "alpha1"},
{Major: 1, Minor: 25, Tag: "alpha"},
{Major: 1, Minor: 25, Patch: 1},
}
for _, ver := range vals {
Expand Down

0 comments on commit 340c221

Please sign in to comment.