removed std::out output from test cases
This commit is contained in:
parent
6e1347e68c
commit
28644bada0
1 changed files with 209 additions and 200 deletions
|
@ -10308,6 +10308,11 @@ TEST_CASE("parser class")
|
|||
|
||||
TEST_CASE("README", "[hide]")
|
||||
{
|
||||
{
|
||||
// redirect std::cout for the README file
|
||||
auto old_cout_buffer = std::cout.rdbuf();
|
||||
std::ostringstream new_stream;
|
||||
std::cout.rdbuf(new_stream.rdbuf());
|
||||
{
|
||||
// create an empty structure (null)
|
||||
json j;
|
||||
|
@ -10556,6 +10561,10 @@ TEST_CASE("README", "[hide]")
|
|||
// { "op":"add","path":"/foo","value":"bar" }
|
||||
// ]
|
||||
}
|
||||
|
||||
// restore old std::cout
|
||||
std::cout.rdbuf(old_cout_buffer);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("algorithms")
|
||||
|
|
Loading…
Reference in a new issue