go/refactor/eg/testdata
Robert Findley 27fc7644e1 all: various test fixes related to any
Fix several tests that were failing at CL 368254 due to inconsistent
formatting of standard library types across Go versions. Generally this
is addressed by replacing interface{} with any, though the mechanism
varies.

Where possible, prefer to update the test data to accurately reflect
1.18 formatting.

Change-Id: Ia92cd565d2ba1dd464891093b78c636fcaff44bc
Reviewed-on: https://go-review.googlesource.com/c/tools/+/370655
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2021-12-09 15:47:16 +00:00
..
A.template all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
A1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
A1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
A2.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
A2.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
B.template
B1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
B1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
C.template
C1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
C1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
D.template
D1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
D1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
E.template
E1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
E1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
F.template all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
F1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
F1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
G.template all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
G1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
G1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
H.template
H1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
H1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
I.template all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
I1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
I1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
J.template all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
J1.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
J1.golden all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
bad_type.template
expr_type_mismatch.template all: various test fixes related to any 2021-12-09 15:47:16 +00:00
no_after_return.template
no_before.template
type_mismatch.template