Skip to content

Commit 1e8d4a3

Browse files
committed
Fix test
1 parent 2b75ed4 commit 1e8d4a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gopls/internal/test/marker/testdata/codeaction/removeparam_resolve.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func _() {
110110
-- field/field.go --
111111
package field
112112

113-
func Field(x int, field int) { //@codeaction("int", "int", "refactor.rewrite", field)
113+
func Field(x int, field int) { //@codeaction("int", "int", "refactor.rewrite", field, "Refactor: remove unused parameter")
114114
}
115115

116116
func _() {
@@ -119,7 +119,7 @@ func _() {
119119
-- @field/field/field.go --
120120
package field
121121

122-
func Field(field int) { //@codeaction("int", "int", "refactor.rewrite", field)
122+
func Field(field int) { //@codeaction("int", "int", "refactor.rewrite", field, "Refactor: remove unused parameter")
123123
}
124124

125125
func _() {
@@ -173,7 +173,7 @@ func i() []any
173173
-- ellipsis2/ellipsis2.go --
174174
package ellipsis2
175175

176-
func Ellipsis2(_, _ int, rest ...int) { //@codeaction("_", "_", "refactor.rewrite", ellipsis2)
176+
func Ellipsis2(_, _ int, rest ...int) { //@codeaction("_", "_", "refactor.rewrite", ellipsis2, "Refactor: remove unused parameter")
177177
}
178178

179179
func _() {
@@ -187,7 +187,7 @@ func h() (int, int)
187187
-- @ellipsis2/ellipsis2/ellipsis2.go --
188188
package ellipsis2
189189

190-
func Ellipsis2(_ int, rest ...int) { //@codeaction("_", "_", "refactor.rewrite", ellipsis2)
190+
func Ellipsis2(_ int, rest ...int) { //@codeaction("_", "_", "refactor.rewrite", ellipsis2, "Refactor: remove unused parameter")
191191
}
192192

193193
func _() {

0 commit comments

Comments
 (0)