Skip to content
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

forge no longer finds test #7578

Closed
1 of 2 tasks
sakulstra opened this issue Apr 5, 2024 · 1 comment · Fixed by #7579
Closed
1 of 2 tasks

forge no longer finds test #7578

sakulstra opened this issue Apr 5, 2024 · 1 comment · Fixed by #7579
Labels
T-bug Type: bug

Comments

@sakulstra
Copy link
Contributor

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (1281421 2024-04-05T00:21:15.963758000Z)

What command(s) is the bug in?

forge test

Operating System

macOS (Apple Silicon)

Describe the bug

On latest nightly (which we run on ci), our testing setup stopped working.
This seems to be related to #7334

On BGD we usually co-locate tests with the contracts (instead of having them in a separate directory) and then run:
forge test --match-path src/20240402_AaveV2Ethereum_UpgradeAMPLImplementation/AaveV2Ethereum_UpgradeAMPLImplementation_20240402.t.sol, where --match-path is the fully qualified path of the test.

Running the same test before and after upgrading to nightly:
image

@sakulstra sakulstra added the T-bug Type: bug label Apr 5, 2024
@mattsse
Copy link
Member

mattsse commented Apr 5, 2024

most likely caused by #7569

possibly fixed by #7572

@klkvr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants