Browse Source

Test: Hide JSON stderr output

master
Riyyi 2 years ago
parent
commit
a1bb1b93c9
  1. 4
      test/unit/testutiljson.cpp

4
test/unit/testutiljson.cpp

@ -28,9 +28,9 @@
#define EXEC(x) x #define EXEC(x) x
#else #else
#define EXEC(x) \ #define EXEC(x) \
stdout = Test::TestSuite::the().outputNull(); \ stderr = Test::TestSuite::the().outputNull(); \
x; \ x; \
stdout = Test::TestSuite::the().outputStd(); stderr = Test::TestSuite::the().outputErr();
#endif #endif
std::vector<Json::Token> lex(const std::string& input) std::vector<Json::Token> lex(const std::string& input)

Loading…
Cancel
Save