tools/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 go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
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 go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
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 go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
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 go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
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 refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
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 go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
expr_type_mismatch.template all: various test fixes related to any 2021-12-09 15:47:16 +00:00
no_after_return.template refactor/eg: Add support for multi line after statements to eg. 2018-03-19 17:51:41 +00:00
no_before.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
type_mismatch.template go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00