New ๐ŸŒŠ wave for @helm

Commit 792fa6c4

792fa6c42b7dMerged

Svyatoslav Dumchenko <[email protected]> ยท 5 years ago ยท 1 file ยท ~1 modified

Description

Fix syntax for tests

Details

Commit
792fa6c42b7d
Parent
3623b3d9982c

pkg/release/plan_test.gomodifiedView file

@@ -18,21 +18,21 @@
1818 }{
1919 {
2020 name: "idempotent",
21- args: {
21+ args: args{
2222 tags: []string{"1", "2", "3"},
2323 },
2424 want: []string{"1", "2", "3"},
2525 },
2626 {
2727 name: "sort",
28- args: {
28+ args: args{
2929 tags: []string{"3", "2", "1"},
3030 },
3131 want: []string{"1", "2", "3"},
3232 },
3333 {
3434 name: "trim",
35- args: {
35+ args: args{
3636 tags: []string{" 1", "2 ", " 3 "},
3737 },
3838 want: []string{"1", "2", "3"},
@@ -59,7 +59,7 @@
5959 }{
6060 {
6161 name: "no target tags",
62- args: {
62+ args: args{
6363 targetTags: []string{},
6464 releaseTags: []string{"1"},
6565 },
@@ -67,7 +67,7 @@
6767 },
6868 {
6969 name: "no release tags",
70- args: {
70+ args: args{
7171 targetTags: []string{"1"},
7272 releaseTags: []string{},
7373 },
@@ -75,7 +75,7 @@
7575 },
7676 {
7777 name: "equal tags",
78- args: {
78+ args: args{
7979 targetTags: []string{"1"},
8080 releaseTags: []string{"1"},
8181 },
@@ -83,7 +83,7 @@
8383 },
8484 {
8585 name: "contains",
86- args: {
86+ args: args{
8787 targetTags: []string{"1", "2", "3"},
8888 releaseTags: []string{"1", "4", "20"},
8989 },
@@ -91,7 +91,7 @@
9191 },
9292 {
9393 name: "doesn't contain",
94- args: {
94+ args: args{
9595 targetTags: []string{"1", "2", "3"},
9696 releaseTags: []string{"4", "5", "6"},
9797 },