Skip to content

go test -run NotAValidTestName Passes #18853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mibzman opened this issue Jan 30, 2017 · 2 comments
Closed

go test -run NotAValidTestName Passes #18853

mibzman opened this issue Jan 30, 2017 · 2 comments

Comments

@mibzman
Copy link

mibzman commented Jan 30, 2017

What version of Go are you using (go version)?

go1.7.1 linux/386

What operating system and processor architecture are you using (go env)?

GOARCH="386"
GOBIN="/home/mibzman/go/bin"
GOEXE=""
GOHOSTARCH="386"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/mibzman/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_386"
CC="gcc"
GOGCCFLAGS="-fPIC -m32 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build831581489=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"

What did you do?

enter the command go test -run NotAValidTestName or any other test name that does not exist

What did you expect to see?

either test not found or FAIL

What did you see instead?

PASS

@minux
Copy link
Member

minux commented Jan 30, 2017 via email

@evverx
Copy link

evverx commented Jan 30, 2017

duplicate of #15211

@minux minux closed this as completed Jan 30, 2017
@golang golang locked and limited conversation to collaborators Jan 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants