Skip to content
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

TestMatch fails #2

Open
eclipseo opened this issue Jan 29, 2021 · 0 comments
Open

TestMatch fails #2

eclipseo opened this issue Jan 29, 2021 · 0 comments

Comments

@eclipseo
Copy link

eclipseo commented Jan 29, 2021

I'm packaging go-gitignore on Fedora Rawhide with Golang 1.16 beta 1 and I'm encountering the following error:

Testing    in: /builddir/build/BUILD/go-gitignore-39e6bddfb2924a6703a1cb3bb97098db26d7b460/_build/src
         PATH: /builddir/build/BUILD/go-gitignore-39e6bddfb2924a6703a1cb3bb97098db26d7b460/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/go-gitignore-39e6bddfb2924a6703a1cb3bb97098db26d7b460/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/zabawaba99/go-gitignore/version=0 -X github.com/zabawaba99/go-gitignore/version.commit=39e6bddfb2924a6703a1cb3bb97098db26d7b460 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  '"
      testing: github.com/zabawaba99/go-gitignore
github.com/zabawaba99/go-gitignore
--- FAIL: TestMatch (0.00s)
    ignore_test.go:43: 
        	Error Trace:	ignore_test.go:43
        	Error:      	Should be true
        	Test:       	TestMatch
    ignore_test.go:46: 
        	Error Trace:	ignore_test.go:46
        	Error:      	Should be false
        	Test:       	TestMatch
FAIL
exit status 1
FAIL	github.com/zabawaba99/go-gitignore	0.006s

It fails with Go 1.15.6 too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant