瀏覽代碼

pkg/capabilities: format code with gofumpt

Formatting the code with https://github.com/mvdan/gofumpt

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 3 年之前
父節點
當前提交
1291bbfa50
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/capabilities/caps_test.go

+ 1 - 1
pkg/capabilities/caps_test.go

@@ -14,7 +14,7 @@ func TestMatch(t *testing.T) {
 		caps     [][]string
 		expected []string
 	}
-	var testcases = []testcase{
+	testcases := []testcase{
 		// matches
 		{
 			caps:     [][]string{{}},