cli/compose/template: Using the variable on range scope `tc` in function literal (scopelint)
cli/compose/template: Using the variable on range scope `tc` in function literal (scopelint)

```
cli/compose/template/template_test.go:279:31: Using the variable on range scope `tc` in function literal (scopelint)
			actual := ExtractVariables(tc.dict, defaultPattern)
			                           ^
cli/compose/template/template_test.go:280:41: Using the variable on range scope `tc` in function literal (scopelint)
			assert.Check(t, is.DeepEqual(actual, tc.expected))
			                                     ^
```

Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

docker/cli,thaJeztah/cli,thaJeztah/cli,cpuguy83/cli,docker/cli,cpuguy83/cli