diff --git a/pkg/devspace/sync/util_test.go b/pkg/devspace/sync/util_test.go index 024bbae25..3ed4ceaa0 100644 --- a/pkg/devspace/sync/util_test.go +++ b/pkg/devspace/sync/util_test.go @@ -54,9 +54,7 @@ func (arr testCaseList) Less(i, j int) bool { } func (arr testCaseList) Swap(i, j int) { - x := arr[i] - arr[i] = arr[j] - arr[j] = x + arr[i], arr[j] = arr[j], arr[i] } const fileContents = "TestContents"