Commit 8e862211 authored by Fedor Trushkin's avatar Fedor Trushkin
Browse files

Use fully qualified in examples

parent 354fc8d8
...@@ -790,8 +790,8 @@ extra logging or custom failure messages, but that usually clutters up ...@@ -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 your tests. A better solution is to use the `SCOPED_TRACE` macro or
the `ScopedTrace` utility: 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` 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 macro will cause the current file name, line number, and the given message to be
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment