Commit 41a3cc92
41a3cc92d209Merged
Svyatoslav Dumchenko <[email protected]> ยท 5 years ago ยท 1 file ยท ~1 modified
Description
fix tests
Details
- Commit
- 41a3cc92d209
- Parent
- ad921fb5667b
pkg/release/plan_test.gomodifiedView file
@@ -64,7 +64,7 @@
6464
targetTags: []string{},6565
releaseTags: []string{"1"},6666
},67-
want: false,67+
want: true,6868
},6969
{7070
name: "no release tags",@@ -83,11 +83,19 @@
8383
want: true,8484
},8585
{86-
name: "contains",86+
name: "contains partially",8787
args: args{8888
targetTags: []string{"1", "2", "3"},8989
releaseTags: []string{"1", "4", "20"},9090
},91+
want: false,92+
},93+
{94+
name: "contains completely",95+
args: args{96+
targetTags: []string{"1", "4"},97+
releaseTags: []string{"1", "4", "20"},98+
},9199
want: true,92100
},93101
{