diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-02-14 19:01:57 +0100 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2025-02-17 08:18:57 +0000 |
| commit | 4121cf9df313ee111c01fde1f255d010c8d941cd (patch) | |
| tree | dcd0d104c8c35997103297dfb7dc1f0de6b77b8e /pkg/csource/csource_test.go | |
| parent | 9f05da3db0234203729d2ad179ab5a2f72bf607f (diff) | |
all: remove loop variables scoping
Diffstat (limited to 'pkg/csource/csource_test.go')
| -rw-r--r-- | pkg/csource/csource_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index c97757d01..472e82225 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -38,7 +38,6 @@ func TestGenerate(t *testing.T) { t.Parallel() checked := make(map[string]bool) for _, target := range prog.AllTargets() { - target := target sysTarget := targets.Get(target.OS, target.Arch) if runtime.GOOS != sysTarget.BuildOS { continue @@ -114,7 +113,6 @@ func testTarget(t *testing.T, target *prog.Target, full bool) { // compilation time from 1.94s to 104.73s and memory consumption from 136MB to 8116MB. continue } - opts := opts t.Run(fmt.Sprintf("%v", opti), func(t *testing.T) { t.Parallel() testOne(t, p, opts) |
