| 73 | } |
| 74 | |
| 75 | void untilHelperToEnd() const { |
| 76 | const char code[] = "void a(){} void main(){ if(true){a();} }"; |
| 77 | const SimpleTokenList tokenList(code); |
| 78 | ASSERT_EQUALS("", testTokenRange(tokenList.front()->until(nullptr), tokenList.front(), nullptr)); |
| 79 | } |
| 80 | |
| 81 | void untilHelperPartWay() const { |
| 82 | const char code[] = "void a(){} void main(){ if(true){a();} }"; |