verify that 2 point semver versions use original value

pull/82/head
Michael Mccallum 2017-08-06 12:21:09 +12:00
parent 5ce7c99a2e
commit 0eeca779f7
1 changed files with 7 additions and 0 deletions

View File

@ -276,6 +276,13 @@ func TestNewAvailable(t *testing.T) {
wantNewAvailable: true,
wantErr: false,
},
{
name: "simple semver",
args: args{current: "8.1", tags: []string{"8.1", "8.2", "8.3"}},
wantNewVersion: "8.3",
wantNewAvailable: true,
wantErr: false,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {