Rewrite FunctionCallGraph
tests as soltest test suite
#13426
Labels
closed due inactivity
The issue/PR was automatically closed due to inactivity.
good first issue candidate
Could be a "good first issue" but something is blocking it or it has open questions.
low impact
Changes are not very noticeable or potential benefits are limited.
medium effort
Default level of effort
nice to have
We don’t see a good reason not to have it but won’t go out of our way to implement it.
stale
The issue/PR was marked as stale because it has been open for too long.
testing 🔨
FunctionCallGraph
is currently covered with boost tests. These tests are generally harder to maintain and update than our soltest-style tests.We should define a custom test case class for them and put expectations in annotations. See
StackLayoutGeneratorTest
andtest/libyul/yulStackLayout/
for an example of such a custom test suite and test cases based on it.Example
We should be able to replace the following test case:
solidity/test/libsolidity/analysis/FunctionCallGraph.cpp
Lines 253 to 292 in a3de6cd
with a
.sol
file that looks like this:The text was updated successfully, but these errors were encountered: