-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestAstUtils: fixed consistency of language being used in isSameExpressionTest
/ added a few language checks
#5728
Conversation
7c667bb
to
0aa826f
Compare
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. |
0aa826f
to
759080b
Compare
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
2173eb4
Compare
6ec5ac1
to
60fb50b
Compare
60fb50b
to
a9ff4b4
Compare
The changes in the tests are expected. In case of C++ |
isSameExpressionTest
isSameExpressionTest
isSameExpressionTest
/ added a few language checks
…nTest()` asserts / added some TODOs about missing test coverage
Co-authored-by: chrchr-github <[email protected]>
a9ff4b4
to
41c106f
Compare
For the
isSameExpression()
test we were tokenizing the code as C++ but were treating it as C later on.