You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, code from docs/listings/snforge_advanced_features/crates/conditional_compilation/src/function.cairo is not being tested. Line declaring it as a module is commented.
Even though both function and its test module are compiled conditionally, compilation fails with an error:
error: Function not found.
--> [...]/starknet-foundry/docs/listings/snforge_advanced_features/crates/conditional_compilation/src/function.cairo:9:1
#[test]
^*********^
@maciektr explained that a bug in Scarb causing this has been solved here.
We need to include this file as soon as Foundry starts using newer Scarb in the future.
The text was updated successfully, but these errors were encountered:
Which component is the issue related to?
Foundry Book
Issue
At the moment, code from
docs/listings/snforge_advanced_features/crates/conditional_compilation/src/function.cairo
is not being tested. Line declaring it as a module is commented.Even though both function and its test module are compiled conditionally, compilation fails with an error:
@maciektr explained that a bug in Scarb causing this has been solved here.
We need to include this file as soon as Foundry starts using newer Scarb in the future.
The text was updated successfully, but these errors were encountered: