Skip to content

Commit

Permalink
chore: update fixtures after forge-std release (#8302)
Browse files Browse the repository at this point in the history
* chore: update fixtures after forge-std release

* fix
  • Loading branch information
klkvr authored Jun 30, 2024
1 parent 07b0ec3 commit e65b5b9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/forge/tests/fixtures/can_test_repeatedly.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ No files changed, compilation skipped

Ran 2 tests for test/Counter.t.sol:CounterTest
[PASS] testFuzz_SetNumber(uint256) (runs: 256, μ: 26521, ~: 28387)
[PASS] test_Increment() (gas: 31325)
[PASS] test_Increment() (gas: 31303)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 9.42ms

Ran 1 test suite: 2 tests passed, 0 failed, 0 skipped (2 total tests)
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Solc 0.8.23 finished in 798.51ms
Compiler run successful!

Ran 2 tests for test/Contract.t.sol:CustomTypesTest
[FAIL. Reason: PoolNotInitialized()] testErr() (gas: 231)
[FAIL. Reason: PoolNotInitialized()] testErr() (gas: 254)
Traces:
[231] CustomTypesTest::testErr()
[254] CustomTypesTest::testErr()
└─ ← [Revert] PoolNotInitialized()

[PASS] testEvent() (gas: 1312)
[PASS] testEvent() (gas: 1268)
Traces:
[1312] CustomTypesTest::testEvent()
[1268] CustomTypesTest::testEvent()
├─ emit MyEvent(a: 100)
└─ ← [Stop]

Expand All @@ -20,6 +20,6 @@ Ran 1 test suite: 1 tests passed, 1 failed, 0 skipped (2 total tests)

Failing tests:
Encountered 1 failing test in test/Contract.t.sol:CustomTypesTest
[FAIL. Reason: PoolNotInitialized()] testErr() (gas: 231)
[FAIL. Reason: PoolNotInitialized()] testErr() (gas: 254)

Encountered a total of 1 failing tests, 1 tests succeeded
4 changes: 2 additions & 2 deletions crates/forge/tests/fixtures/repro_6531.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Compiling 1 files with 0.8.23
Compiler run successful!

Ran 1 test for test/Contract.t.sol:USDTCallingTest
[PASS] test() (gas: 9559)
[PASS] test() (gas: 9537)
Traces:
[9559] USDTCallingTest::test()
[9537] USDTCallingTest::test()
├─ [0] VM::createSelectFork("<url>")
│ └─ ← [Return] 0
├─ [3110] 0xdAC17F958D2ee523a2206206994597C13D831ec7::name() [staticcall]
Expand Down

0 comments on commit e65b5b9

Please sign in to comment.