diff --git a/src/pkg/go/printer/testdata/statements.golden b/src/pkg/go/printer/testdata/statements.golden index e3076aefc3b..f3dc8fe7447 100644 --- a/src/pkg/go/printer/testdata/statements.golden +++ b/src/pkg/go/printer/testdata/statements.golden @@ -152,7 +152,7 @@ func _() { // Don't remove mandatory parentheses around composite literals in control clauses. func _() { - // strip no parentheses - no composite literals or composite literals don't start with a type name + // strip parentheses - no composite literals or composite literals don't start with a type name if x { } if x {