@@ -145,7 +145,7 @@ func TestNeedsTag(t *testing.T) {
145145 name : "Update Needed" ,
146146 current : []string {"tag-tag1" , "tag-tag2" },
147147 update : []string {"tag-tag1" , "tag-tag2" , "tag3" },
148- expectedTags : []string {"tag3" },
148+ expectedTags : []string {"tag-tag1" , "tag-tag2" , " tag3" },
149149 expectedShould : true ,
150150 },
151151 {
@@ -166,7 +166,7 @@ func TestNeedsTag(t *testing.T) {
166166 name : "Mixed Changes" ,
167167 current : []string {"tag-tag1" , "tag2" , "tag4" },
168168 update : []string {"tag2" , "tag3" , "tag5" },
169- expectedTags : []string {"tag4 " , "tag3" , "tag5" },
169+ expectedTags : []string {"tag2 " , "tag3" , "tag4 " , "tag5" },
170170 expectedShould : true ,
171171 },
172172 }
@@ -660,7 +660,7 @@ func TestCleanupTags(t *testing.T) {
660660 },
661661 tagPrefix : "tag" ,
662662 expectError : false ,
663- expectTags : []string {"prefix1 " , "prefix2 " , "other-tag " },
663+ expectTags : []string {"other-tag " , "prefix1 " , "prefix2 " },
664664 },
665665 {
666666 name : "Service Not Found" ,
0 commit comments