Skip to content

Commit 34d22e7

Browse files
committed
fix snapshot
1 parent 02079bc commit 34d22e7

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

crates/forge/tests/cli/test_cmd.rs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,8 @@ Encountered 1 failing test in test/Contract.t.sol:CustomTypesTest
602602
603603
Encountered a total of 1 failing tests, 1 tests succeeded
604604
605+
Tip: Run `forge test --rerun` to retry only the 1 failed test
606+
605607
"#]]);
606608
});
607609

@@ -763,6 +765,8 @@ Encountered 1 failing test in test/CounterFuzz.t.sol:CounterTest
763765
764766
Encountered a total of 1 failing tests, 0 tests succeeded
765767
768+
Tip: Run `forge test --rerun` to retry only the 1 failed test
769+
766770
"#]]);
767771
});
768772

@@ -813,6 +817,8 @@ Encountered 1 failing test in test/CounterInvariant.t.sol:CounterTest
813817
814818
Encountered a total of 1 failing tests, 0 tests succeeded
815819
820+
Tip: Run `forge test --rerun` to retry only the 1 failed test
821+
816822
"#]]);
817823
});
818824

@@ -864,6 +870,8 @@ Encountered 2 failing tests in test/ReplayFailures.t.sol:ReplayFailuresTest
864870
865871
Encountered a total of 2 failing tests, 2 tests succeeded
866872
873+
Tip: Run `forge test --rerun` to retry only the 2 failed tests
874+
867875
"#]]);
868876

869877
// Test failure filter should be persisted.
@@ -887,6 +895,8 @@ Encountered 2 failing tests in test/ReplayFailures.t.sol:ReplayFailuresTest
887895
888896
Encountered a total of 2 failing tests, 0 tests succeeded
889897
898+
Tip: Run `forge test --rerun` to retry only the 2 failed tests
899+
890900
"#]]);
891901
});
892902

@@ -2871,6 +2881,8 @@ Encountered 1 failing test in test/Foo.t.sol:ContractTest
28712881
28722882
Encountered a total of 1 failing tests, 0 tests succeeded
28732883
2884+
Tip: Run `forge test --rerun` to retry only the 1 failed test
2885+
28742886
"#]]);
28752887
});
28762888

@@ -3001,6 +3013,8 @@ Encountered 1 failing test in test/SuppressTracesTest.t.sol:SuppressTracesTest
30013013
30023014
Encountered a total of 1 failing tests, 1 tests succeeded
30033015
3016+
Tip: Run `forge test --rerun` to retry only the 1 failed test
3017+
30043018
"#]],
30053019
);
30063020

@@ -3063,6 +3077,8 @@ Encountered 1 failing test in test/SuppressTracesTest.t.sol:SuppressTracesTest
30633077
30643078
Encountered a total of 1 failing tests, 1 tests succeeded
30653079
3080+
Tip: Run `forge test --rerun` to retry only the 1 failed test
3081+
30663082
"#]]);
30673083
});
30683084

@@ -3747,6 +3763,8 @@ Encountered 1 failing test in test/Counter.t.sol:CounterTest
37473763
37483764
Encountered a total of 1 failing tests, 0 tests succeeded
37493765
3766+
Tip: Run `forge test --rerun` to retry only the 1 failed test
3767+
37503768
"#]]);
37513769
});
37523770

@@ -3855,6 +3873,8 @@ Encountered 3 failing tests in test/NonContractCallRevertTest.t.sol:NonContractC
38553873
38563874
Encountered a total of 3 failing tests, 0 tests succeeded
38573875
3876+
Tip: Run `forge test --rerun` to retry only the 3 failed tests
3877+
38583878
"#]]);
38593879
});
38603880

@@ -3937,6 +3957,8 @@ Encountered 1 failing test in test/NonContractDelegateCallRevertTest.t.sol:NonCo
39373957
39383958
Encountered a total of 1 failing tests, 0 tests succeeded
39393959
3960+
Tip: Run `forge test --rerun` to retry only the 1 failed test
3961+
39403962
"#]]);
39413963
});
39423964

@@ -4128,5 +4150,7 @@ Encountered 2 failing tests in test/Counter.t.sol:CounterTest
41284150
41294151
Encountered a total of 2 failing tests, 0 tests succeeded
41304152
4153+
Tip: Run `forge test --rerun` to retry only the 2 failed tests
4154+
41314155
"#]]);
41324156
});

crates/forge/tests/it/table.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ Encountered 6 failing tests in test/CounterTable.t.sol:CounterTableTest
117117
118118
Encountered a total of 6 failing tests, 2 tests succeeded
119119
120+
Tip: Run `forge test --rerun` to retry only the 6 failed tests
121+
120122
"#]]);
121123
});
122124

0 commit comments

Comments
 (0)