You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test codelens redundant function:
name start with Test[a-z] is not considered as test for go test
for example function TestaAbug is not not run in go test, but codelen is show run test | debug test on function.
Checking configured tools....
GOBIN: undefined
toolsGopath:
gopath: C:\Users\Yx\go
GOROOT: D:\Program Files\Go
PATH: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\_shortcut;C:\Program Files (x86)\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\dotnet\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\neko-2.3.0-win64;D:\Program Files\Go\bin;D:\TDM-GCC-64\bin;C:\Users\Yx\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Yx\AppData\Local\Programs\Python\Python39\;C:\Users\Yx\AppData\Local\Microsoft\WindowsApps;;C:\Users\Yx\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Yx\AppData\Roaming\npm;C:\Users\Yx\.dotnet\tools;C:\Users\Yx\go\bin
gopkgs: C:\Users\Yx\go\bin\gopkgs.exe installed
go-outline: C:\Users\Yx\go\bin\go-outline.exe installed
gotests: C:\Users\Yx\go\bin\gotests.exe installed
gomodifytags: C:\Users\Yx\go\bin\gomodifytags.exe installed
impl: C:\Users\Yx\go\bin\impl.exe installed
goplay: C:\Users\Yx\go\bin\goplay.exe installed
dlv: C:\Users\Yx\go\bin\dlv.exe installed
dlv-dap: C:\Users\Yx\go\bin\dlv-dap.exe installed
staticcheck: C:\Users\Yx\go\bin\staticcheck.exe installed
gopls: C:\Users\Yx\go\bin\gopls.exe installed
go env
Workspace Folder (hine): d:\test_ppp\hine
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Yx\AppData\Local\go-build
set GOENV=C:\Users\Yx\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\Yx\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\Yx\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=D:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=D:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.16.3
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=d:\test_ppp\hine\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Yx\AppData\Local\Temp\go-build3996959707=/tmp/go-build -gno-record-gcc-switches
The text was updated successfully, but these errors were encountered:
Description:
test codelens redundant function:
name start with Test[a-z] is not considered as test for
go test
for example function
TestaAbug
is not not run ingo test
, but codelen is showrun test | debug test
on function.Screenshots or recordings
Environment:
The text was updated successfully, but these errors were encountered: