We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c6637c commit dd6a806Copy full SHA for dd6a806
1 file changed
test/testboost.cpp
@@ -47,7 +47,11 @@ class TestBoost : public TestFixture {
47
Tokenizer tokenizer(&settings, this);
48
std::istringstream istr(code);
49
tokenizer.tokenize(istr, "test.cpp");
50
+ const std::string str1(tokenizer.tokens()->stringifyList(0,true));
51
tokenizer.simplifyTokenList();
52
+ const std::string str2(tokenizer.tokens()->stringifyList(0,true));
53
+ if (str1 != str2)
54
+ warn("Unsimplified code in test case");
55
56
// Check..
57
CheckBoost checkBoost;
0 commit comments