-
Notifications
You must be signed in to change notification settings - Fork 346
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
Adds the test name to the errors #42
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I done did sign that there thing.
…On Sat, Apr 15, 2017 at 5:03 PM googlebot ***@***.***> wrote:
Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 *Please visit https://cla.developers.google.com/
<https://cla.developers.google.com/> to sign.*
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.
------------------------------
- If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data <https://cla.developers.google.com/clas> and verify
that your email is set on your git commits
<https://help.github.com/articles/setting-your-email-in-git/>.
- If you signed the CLA as a corporation, please let us know the
company's name.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#42 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAeyEabnsRvILQFiyzb66AL_plqAeIiFks5rwTCEgaJpZM4M-dan>
.
|
CLAs look good, thanks! |
Hi @serussell, I wasn't aware of this issue: the test name should always be printed per test case. Normally the test name is printed if you are using subtests, and if you are not the test should be printed in the test output. Which Go version are you using? Before I can accept your pull request, can you please provide an example of the generated code that is missing the test name? |
Yes, the pull request may not be the correct solution. There appears to be an issue using the errors generated by gotest with With two errors:
With one:
On the command line, all lines are printed:
So Debugging the interaction between Thanks! edit: Formatting |
Sorry to hear that your bug is in a another castle. It may be worth reporting to the vim-go maintainers if you haven't already. |
For people encountering the same issue, I filed this ticket; vim-go#1262. In summary, vim-go's error parsing regexp is expecting all of the metadata for the report to be on one line, not split across several lines. The way errors are formatted by go's No response yet from the vim-go maintainers, so for the moment executing gotests (and more generally, |
Error messages omit the table element name (tt.name), making it difficult (impossible?) to identify which table entry failed. This patch adds the name to the error message.