Home:ALL Converter>Show only diff when ASSERT_STREQ fails

Show only diff when ASSERT_STREQ fails

Ask Time:2018-06-08T22:01:44         Author:Alexey B.

Json Formatter

When googletest's ASSERT_STREQ fails , it prints both input strings and their diff. Can I make it print only the diff?

Author:Alexey B.,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50762372/show-only-diff-when-assert-streq-fails
yy