diff options
Diffstat (limited to 'pkg/build')
| -rw-r--r-- | pkg/build/build_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/build/build_test.go b/pkg/build/build_test.go index 6aa9d9216..7491a113c 100644 --- a/pkg/build/build_test.go +++ b/pkg/build/build_test.go @@ -17,7 +17,6 @@ import ( func TestCompilerIdentity(t *testing.T) { t.Parallel() for _, compiler := range []string{"gcc", "clang", "bazel"} { - compiler := compiler t.Run(compiler, func(t *testing.T) { t.Parallel() if _, err := exec.LookPath(compiler); err != nil { @@ -42,7 +41,6 @@ func TestCompilerIdentity(t *testing.T) { func TestExtractCauseInner(t *testing.T) { for i, test := range rootCauseTests { - test := test t.Run(fmt.Sprint(i), func(t *testing.T) { reason, file := extractCauseInner([]byte(test.e), test.src) if test.reason != string(reason) { |
