Uh oh!
There was an error while loading. Please reload this page.
TestAstUtils: fixed consistency of language being used in isSameExpressionTest / added a few language checks - #5728
Conversation
Extracted from #5725. Still needs to actual fixes/improvements done. Could need some help with the failures though as I don't really understand what it tests. |
There's lots of more inconsistencies in these tests. All of these need to be tested with C and C++ tokenizing. But I have no idea how to do this without duplicating most of the code. It is not ass simple as the executor tests which can simply get a global boolean passed in. e.g. the |
12c4f60 to
2173eb4Compare6ec5ac1 to
60fb50bCompareThe changes in the tests are expected. In case of C++ |
isSameExpressionTestisSameExpressionTestisSameExpressionTest / added a few language checksUh oh!
There was an error while loading. Please reload this page.
…nTest()` asserts / added some TODOs about missing test coverage
Co-authored-by: chrchr-github <78114321+chrchr-github@users.noreply.github.com>
For the
isSameExpression()test we were tokenizing the code as C++ but were treating it as C later on.