Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
Description
Right now, auto-updating assertions need to be spread across multiple lines to work properly. New assertions are generally written in this format to avoid being collapsed by clang-format to a single line:
ASSERT_STR_EQ_AUTO( // NOLINT
|
"",
|
actualOutput);
|
This is cumbersome to write and leads to very strange behavior if not done properly. To be more user-friendly, auto-updating assertions should be able to be written like so:
ASSERT_STR_EQ_AUTO("", actualOutput);
|
and the expected output should be filled in as expected.