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
Golang 1.16 introduced a change that makes the test fail:
Testing in: /builddir/build/BUILD/complete-2.0.1-alpha.13/_build/src
PATH: /builddir/build/BUILD/complete-2.0.1-alpha.13/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
GOPATH: /builddir/build/BUILD/complete-2.0.1-alpha.13/_build:/usr/share/gocode
GO111MODULE: off
command: go test -buildmode pie -compiler gc -ldflags " -X github.com/posener/complete/v2/version=2.0.1~alpha.13 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
testing: github.com/posener/complete/v2
github.com/posener/complete/v2
PASS
ok github.com/posener/complete/v2 0.007s
github.com/posener/complete/v2/compflag
invalid value "3" for flag -a: not in allowed values: 1,2
Usage:
-a value
invalid value "3" for flag -a: not in allowed values: 1,2
Usage:
-a value
(default 0)
invalid value "1h" for flag -a: not in allowed values: 1s,1m
Usage:
invalid value "x" for flag -a: bad value for Int flag
-a value
(default 0s)
invalid value "1" for flag -a: bad value for Duration flag
Usage:
-a value
(default 0s)
Usage:
-a value
(default 0)
PASS
ok github.com/posener/complete/v2/compflag 0.006s
github.com/posener/complete/v2/gocomplete
run
--- FAIL: Example (0.00s)
panic: unexpected call to os.Exit(0) during test [recovered]
panic: unexpected call to os.Exit(0) during test
Golang 1.16 introduced a change that makes the test fail:
It is maybe related to https://tip.golang.org/doc/go1.16#go-test
golang/go#29062
https://go-review.googlesource.com/c/go/+/250977/
The text was updated successfully, but these errors were encountered: