aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/docs
diff options
context:
space:
mode:
authorKeiichi Watanabe <keiichiw@chromium.org>2019-02-05 21:05:16 +0900
committerKeiichi Watanabe <keiichiw@chromium.org>2019-02-05 21:05:16 +0900
commitb3679d8565867e12e440981b55dc64b68c3b2c44 (patch)
tree3de153bf49e8f5846a720fc01f0898eb113047d6 /googletest/docs
parentf80d6644d4b451f568a2e7aea1e01e842eb242dc (diff)
downloadgoogletest-b3679d8565867e12e440981b55dc64b68c3b2c44.tar.gz
googletest-b3679d8565867e12e440981b55dc64b68c3b2c44.tar.bz2
googletest-b3679d8565867e12e440981b55dc64b68c3b2c44.zip
Fix an invalid example of JSON report in advanced.md
This is just a mistake in the document. Google Test doesn't output such an invalid JSON report. Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org>
Diffstat (limited to 'googletest/docs')
-rw-r--r--googletest/docs/advanced.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md
index acb7f240..ea9b80fc 100644
--- a/googletest/docs/advanced.md
+++ b/googletest/docs/advanced.md
@@ -2430,7 +2430,7 @@ could generate this report:
"failures": 1,
"errors": 0,
"time": "0.035s",
- "timestamp": "2011-10-31T18:52:42Z"
+ "timestamp": "2011-10-31T18:52:42Z",
"name": "AllTests",
"testsuites": [
{
@@ -2447,11 +2447,11 @@ could generate this report:
"classname": "",
"failures": [
{
- "message": "Value of: add(1, 1)\x0A Actual: 3\x0AExpected: 2",
+ "message": "Value of: add(1, 1)\n Actual: 3\nExpected: 2",
"type": ""
},
{
- "message": "Value of: add(1, -1)\x0A Actual: 1\x0AExpected: 0",
+ "message": "Value of: add(1, -1)\n Actual: 1\nExpected: 0",
"type": ""
}
]
@@ -2463,7 +2463,7 @@ could generate this report:
"classname": ""
}
]
- }
+ },
{
"name": "LogicTest",
"tests": 1,
@@ -2517,4 +2517,3 @@ environment variable to `0`, or use the `--gtest_catch_exceptions=0` flag when
running the tests.
**Availability**: Linux, Windows, Mac.
-