diff options
author | Fedor Trushkin <ftrushkin@google.com> | 2018-01-18 09:38:25 (GMT) |
---|---|---|
committer | Fedor Trushkin <ftrushkin@google.com> | 2018-01-18 09:38:25 (GMT) |
commit | 8e862211a24804d6635adc867f9b9199220e1128 (patch) | |
tree | baefd7543494c50239a21602dbb0fd89ca939770 /googletest/docs/AdvancedGuide.md | |
parent | 354fc8d8b1889b580f46416c9bbdf5ed8453156f (diff) | |
download | googletest-8e862211a24804d6635adc867f9b9199220e1128.zip googletest-8e862211a24804d6635adc867f9b9199220e1128.tar.gz googletest-8e862211a24804d6635adc867f9b9199220e1128.tar.bz2 |
Use fully qualified in examplesrefs/pull/1407/head
Diffstat (limited to 'googletest/docs/AdvancedGuide.md')
-rw-r--r-- | googletest/docs/AdvancedGuide.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/docs/AdvancedGuide.md b/googletest/docs/AdvancedGuide.md index 6c156bb..ccb087c 100644 --- a/googletest/docs/AdvancedGuide.md +++ b/googletest/docs/AdvancedGuide.md @@ -790,8 +790,8 @@ extra logging or custom failure messages, but that usually clutters up your tests. A better solution is to use the `SCOPED_TRACE` macro or the `ScopedTrace` utility: -| `SCOPED_TRACE(`_message_`);` | `ScopedTrace trace(`_"file\_path"_`, `_line\_number_`, `_message_`);` | -|:-----------------------------|:----------------------------------------------------------------------| +| `SCOPED_TRACE(`_message_`);` | `::testing::ScopedTrace trace(`_"file\_path"_`, `_line\_number_`, `_message_`);` | +|:-----------------------------|:---------------------------------------------------------------------------------| where `message` can be anything streamable to `std::ostream`. `SCOPED_TRACE` macro will cause the current file name, line number, and the given message to be |