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

Print "Failure" on a single line, possibly optional? #468

Open
GoogleCodeExporter opened this issue Mar 21, 2015 · 0 comments
Open

Print "Failure" on a single line, possibly optional? #468

GoogleCodeExporter opened this issue Mar 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

It would be nice to be able to print failures on a single line so that error 
lists on some IDE's also display the test failure text and not just "Failure".

What steps will reproduce the problem?
1. run a test that fails (gtest built using using gcc)
2. observe output in Eclipse.

gtest-1.7.0

In the function TestPartResultTypeToString, either remove the newline from 
"Failure\n" or offer a command line option that controls this to avoid breaking 
any tools that rely on current behaviour.

I tried to resolve this by providing and alternative function that was in the 
'internal' namespace but that results in ambiguity due to ADL.

Original issue reported on code.google.com by pw.banni...@googlemail.com on 16 Jul 2014 at 3:39

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

No branches or pull requests

1 participant