Skip to content

Commit

Permalink
Merge pull request #219 from babbageclunk/fix-test
Browse files Browse the repository at this point in the history
Update test to match changed juju/version behaviour

Since commit [4ae6172](juju/version@4ae6172) (juju/version#3), `version.Number.Tag` will never include any digits, so this test became incorrect.
  • Loading branch information
jujubot committed Sep 15, 2016
2 parents 7012195 + 340c221 commit 2f2476d
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 2f2476d

Please sign in to comment.