Fix linter warning

Signed-off-by: Tamal Saha <tamal@appscode.com>
This commit is contained in:
Tamal Saha
2020-05-13 13:34:24 -07:00
parent 802d79ae32
commit e3971ffbff

View File

@@ -126,7 +126,8 @@ hello: world
want: `[{"name":"s1"},{"name":"s2"}]`,
},
}
for _, tt := range tests {
for idx := range tests {
tt := tests[idx]
t.Run(tt.name, func(t *testing.T) {
instance, err := Parse(tt.ydoc)
if !assert.NoError(t, err) {