mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-10-29 15:02:30 +00:00
Apply go fix to simplify using modern features
This patch contains the result of running `go fix ./...`, which applies simplifications that make use of modern language features. There are no logic or behaviour changes.
This commit is contained in:
@@ -141,7 +141,7 @@ func TestHTTP(t *testing.T) {
|
||||
func TestHTTPLong(t *testing.T) {
|
||||
// Test a long trace.
|
||||
tr := New("TestHTTPLong", "verbose")
|
||||
for i := 0; i < 1000; i++ {
|
||||
for i := range 1000 {
|
||||
tr.Printf("entry #%d", i)
|
||||
}
|
||||
tr.Finish()
|
||||
|
||||
Reference in New Issue
Block a user