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

testing: can add func Output(calldepth int, s string) for testing.T #9577

Closed
mei-rune opened this issue Jan 13, 2015 · 2 comments
Closed

testing: can add func Output(calldepth int, s string) for testing.T #9577

mei-rune opened this issue Jan 13, 2015 · 2 comments

Comments

@mei-rune
Copy link

mei-rune commented Jan 13, 2015

can add func Output(calldepth int, s string) or ErrorOutput(calldepth int, s string) for testing.T.

it will helpful for assert helper library.

@adg
Copy link
Contributor

adg commented Jan 13, 2015

If you're writing an assert helper library then you can provide your own such function.

@adg adg closed this as completed Jan 13, 2015
@cespare
Copy link
Contributor

cespare commented Jan 13, 2015

This might be asking for #4899.

@mikioh mikioh changed the title can add func Output(calldepth int, s string) for testing.T testing: can add func Output(calldepth int, s string) for testing.T Jan 13, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
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