-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
wrong lines in "forge coverage --report lcov" #9437
Comments
@krakovia-evm moving discussion here, re #9438 (comment) I see the contract included even with the comment (that's before PR that fix this issue) |
🤔 that's curious. |
Cannot reproduce with the fix PR #9438 |
i owe you a coffee ser. |
* fix(coverage): special functions have no name * test: don't to_string * test: rm --summary which is not --report=summary * test: add regression test for #9437 * fmt * docs
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (27cabbd 2024-11-29T00:30:33.362570500Z)
What command(s) is the bug in?
forge coverage --report -lcov
Operating System
Windows
Describe the bug
I just noticed "forge coverage --report -lcov" doesn't work anymore basically in all my repos.
Each coverage reports wrong lines, for example comments with green.
did a test on virtual machine, clean vscode install and different addon to view .lcov files.
Same issues.
Here's a small project with the issue
(forge init --no-git, OZ 5 & a simple erc20 with tests)
test.zip
The text was updated successfully, but these errors were encountered: