-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: multiline example output comparison doesn't strip per-line whitespace #6416
Labels
Comments
Fix sketched in https://golang.org/cl/13469045, for fun. Can't submit it now due to Go 1.2 freeze. |
Hmmm...the gofmt /* comments */ behavior seems to be under discussion in https://golang.org/issue/5128. I guess this depends on what the outcome of that is. |
Issue #9109 has been merged into this issue. |
I urge you to reopen this bug. As far as I can figure, there is no way to test output that has trailing whitespace in intermediate lines. At least I can't find an easy work around. The examples at the top of the issue still don't work and can't, as far as I can figure, be made to work. I also can't make /* */ syntax work: http://play.golang.org/p/51D2DYVHTy |
jbeda
added a commit
to jbeda/kubernetes
that referenced
this issue
Jul 9, 2015
Fixes kubernetes#10842 All issues for types that use "extra lines" for extended information. Two issues fixed: (1) When namespaces are listed an extra column isn't inserted for extra lines and (2) trailing tabs aren't inserted when label columns are specified. This code should probably move to a more explicit model of putting data into "cells". The test for this hits golang/go#6416 and so I introduced a "LineDelimiter" writer filter to make white space more visible.
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: