diff options
Diffstat (limited to 'src/cmd/gofmt/testdata')
-rw-r--r-- | src/cmd/gofmt/testdata/typeswitch.golden | 2 | ||||
-rw-r--r-- | src/cmd/gofmt/testdata/typeswitch.input | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/gofmt/testdata/typeswitch.golden b/src/cmd/gofmt/testdata/typeswitch.golden index 87e916181..2b1905edd 100644 --- a/src/cmd/gofmt/testdata/typeswitch.golden +++ b/src/cmd/gofmt/testdata/typeswitch.golden @@ -4,7 +4,7 @@ into the correct unparenthesized form. Only type-switches that didn't declare a variable - in the the type switch type assertion and which + in the type switch type assertion and which contained only "expression-like" (named) types in their cases were permitted to have their type assertion parenthesized by go/parser (due to a weak predicate in the parser). All others diff --git a/src/cmd/gofmt/testdata/typeswitch.input b/src/cmd/gofmt/testdata/typeswitch.input index f90f28949..8f8cba9b8 100644 --- a/src/cmd/gofmt/testdata/typeswitch.input +++ b/src/cmd/gofmt/testdata/typeswitch.input @@ -4,7 +4,7 @@ into the correct unparenthesized form. Only type-switches that didn't declare a variable - in the the type switch type assertion and which + in the type switch type assertion and which contained only "expression-like" (named) types in their cases were permitted to have their type assertion parenthesized by go/parser (due to a weak predicate in the parser). All others |