diff options
author | Aaron Jacobs <jacobsa@google.com> | 2023-03-23 03:19:06 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-03-23 03:19:44 (GMT) |
commit | 5fce13091d223069436ad7a5aad53f026b0f2041 (patch) | |
tree | 616ce824189315035025f25977ebcc0a5be59859 /googletest/test/googletest-json-output-unittest.py | |
parent | 974e18ee6f146a2418f9cea83170c640e7d622d6 (diff) | |
download | googletest-5fce13091d223069436ad7a5aad53f026b0f2041.zip googletest-5fce13091d223069436ad7a5aad53f026b0f2041.tar.gz googletest-5fce13091d223069436ad7a5aad53f026b0f2041.tar.bz2 |
gtest.cc: add a newline after a failure when there is no OS stack trace.
This makes the behavior consistent when GTEST_STACK_TRACE_DEPTH is set to zero
and not: there is always vertical whitespace separating failure messages.
PiperOrigin-RevId: 518744611
Change-Id: I5b4af40633849850660504c3f497a76601d4311d
Diffstat (limited to 'googletest/test/googletest-json-output-unittest.py')
-rw-r--r-- | googletest/test/googletest-json-output-unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/googletest-json-output-unittest.py b/googletest/test/googletest-json-output-unittest.py index b3a08de..e955e7b 100644 --- a/googletest/test/googletest-json-output-unittest.py +++ b/googletest/test/googletest-json-output-unittest.py @@ -54,7 +54,7 @@ SUPPORTS_STACK_TRACES = NO_STACKTRACE_SUPPORT_FLAG not in sys.argv if SUPPORTS_STACK_TRACES: STACK_TRACE_TEMPLATE = '\nStack trace:\n*' else: - STACK_TRACE_TEMPLATE = '' + STACK_TRACE_TEMPLATE = '\n' EXPECTED_NON_EMPTY = { 'tests': 26, |