Skip to content

Commit f2d3760

Browse files
committed
testdata: use for loop with full ForClause to prevent gofmt from reformatting it
1 parent 0198fc9 commit f2d3760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testdata/loops.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ func l4() {
2222
}
2323
for true {
2424
}
25-
for ;; {
25+
for i := 0; i < 10; i++ {
2626
}
2727
}

0 commit comments

Comments
 (0)