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

go test fails with: cannot use "StatusBadRequest" (type string) as type *testing.T in function argument #122

Closed
suryagaddipati opened this issue Jul 1, 2014 · 3 comments

Comments

@suryagaddipati
Copy link

On latest code on master

G15491-2:go-github sgaddipati$ g show head --name-only
3a1d485 - (HEAD, origin/master, origin/HEAD, master) Fix PushEvent JSON representation of size attribute (4 weeks ago) <Tobias Schmidt>
github/activity_events.go

I get test failures

G15491-2:go-github sgaddipati$ go test -v ./github
# go-github/github
github/orgs_members_test.go:42: cannot use "StatusBadRequest" (type string) as type *testing.T in function argument
github/orgs_members_test.go:42: not enough arguments in call to testURLParseError
FAIL    go-github/github [build failed]
@willnorris
Copy link
Collaborator

are you sure you don't have any local changes? I'm not able to reproduce locally, and our tests on both Travis and Drone passed at that particular commit:

@suryagaddipati
Copy link
Author

No didn't have any changes. Strangely it passes nows. I am closing this as I don't have a clearly reproducible steps for this.

@willnorris
Copy link
Collaborator

huh, weird. well, certainly reopen if you happen to see this again.

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

2 participants