diff options
Diffstat (limited to 'internal/lsp/testdata/fillstruct/fill_struct.go')
-rw-r--r-- | internal/lsp/testdata/fillstruct/fill_struct.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/internal/lsp/testdata/fillstruct/fill_struct.go b/internal/lsp/testdata/fillstruct/fill_struct.go deleted file mode 100644 index fccec1353..000000000 --- a/internal/lsp/testdata/fillstruct/fill_struct.go +++ /dev/null @@ -1,26 +0,0 @@ -package fillstruct - -type StructA struct { - unexportedIntField int - ExportedIntField int - MapA map[int]string - Array []int - StructB -} - -type StructA2 struct { - B *StructB -} - -type StructA3 struct { - B StructB -} - -func fill() { - a := StructA{} //@suggestedfix("}", "refactor.rewrite") - b := StructA2{} //@suggestedfix("}", "refactor.rewrite") - c := StructA3{} //@suggestedfix("}", "refactor.rewrite") - if true { - _ = StructA3{} //@suggestedfix("}", "refactor.rewrite") - } -} |