evm: fix test_transceiverIncompatibleNttManager #672
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This test started failing as of forge v1.3.1, specifically due to this PR foundry-rs/foundry#10446.
The PR implements better error reporting when the tests run in verbose mode, so the test that previously expected an empty revert string now fails in verbose mode, because forge now returns an error about calling a contract with no bytecode.
Actually this test was supposed to test (according to the comment) that the transceiver constructor revert if the manager doesn't have the token method, but that's not what it was testing. So we change the test to actually use a dummy contract that has no token method. This returns an empty revert string, so everything is good. Until forge includes an override for that too at least