mirror of
https://github.com/go-delve/delve.git
synced 2025-10-31 02:36:18 +08:00
*: modernize codebase with newer syntax / helpers (#4110)
Changes came from running https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize on the codebase.
This commit is contained in:
@ -56,7 +56,7 @@ func TestIssue419(t *testing.T) {
|
||||
errChan <- grp.Continue()
|
||||
})
|
||||
|
||||
for i := 0; i < 2; i++ {
|
||||
for range 2 {
|
||||
err := <-errChan
|
||||
|
||||
t.Logf("error %T %#v\n", err, err)
|
||||
|
||||
Reference in New Issue
Block a user