Generate Unit-Tests fails for Generics #3484
Labels
Duplicate
Make it obvious when issues are closed as duplicate
upstream-tools
Issues that are caused by problems in the tools that the extension depends on.
Milestone
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
Run
go version
to get version of Go from the VS Code integrated terminal.Run
gopls -v version
to get version of Gopls from the VS Code integrated terminal.Run
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Check your installed extensions to get the version of the VS Code Go extension
Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) >
Go: Locate Configured Go Tools
command.go: /usr/lib/go-1.22/bin/go: go version go1.22.1 linux/amd64
gopls: /home/matthias/devel/Go/bin/gopls (version: v0.16.1 built with go: go1.22.1)
gotests: /home/matthias/devel/Go/bin/gotests (version: v1.6.0 built with go: go1.22.1)
gomodifytags: /home/matthias/devel/Go/bin/gomodifytags (version: v1.16.0 built with go: go1.22.1)
impl: not installed
goplay: not installed
dlv: /home/matthias/devel/Go/bin/dlv (version: v1.22.1 built with go: go1.22.1)
staticcheck: /home/matthias/devel/Go/bin/staticcheck (version: v0.4.7 built with go: go1.22.1)
Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
A clear and concise description of what the bug.
A clear and concise description of what you expected to happen.
Steps to reproduce the behavior:
When I try to prepare a unit-test for a function or file that uses generics I only get the message:
The text was updated successfully, but these errors were encountered: