fix: catch that suffix comparison bug
This commit is contained in:
@ -599,6 +599,7 @@ func TestIsCompatible(t *testing.T) {
|
||||
{"1.2.3", "1.2.0", true},
|
||||
{"5-alpine", "6-alpine", true},
|
||||
{"5-alpine", "6.5-alpine", false},
|
||||
{"5", "5-alpine", false},
|
||||
}
|
||||
for _, p := range pairs {
|
||||
p1, err := tagcmp.Parse(p.t1)
|
||||
|
Reference in New Issue
Block a user