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
This config is wrong: there is no ci or lite config key in the default profile, so I'd have expected this error to be caught. The correct inline config is:
Other inline config errors are caught. For example, with /// forge-config: default.fuzz.runssss = 1, running forge test will error says Inline config error detected at test/ERC5564Announcer.t.sol:Announce:test1
So, two pieces of feedback:
Also catch when the first key is not valid
Improve the error message to write out the incorrect key so bugs are easier to find
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (e488e2b 2023-07-10T15:17:42.605282000Z)
What command(s) is the bug in?
forge test
Operating System
None
Describe the bug
Config file:
Test
This config is wrong: there is no
ci
orlite
config key in the default profile, so I'd have expected this error to be caught. The correct inline config is:Other inline config errors are caught. For example, with
/// forge-config: default.fuzz.runssss = 1
, runningforge test
will error saysInline config error detected at test/ERC5564Announcer.t.sol:Announce:test1
So, two pieces of feedback:
The text was updated successfully, but these errors were encountered: