Skip to content

Commit 73beba3

Browse files
chore(output): weekly command output update (#1763)
update command output Co-authored-by: mattsse <19890894+mattsse@users.noreply.github.com>
1 parent c26a1c7 commit 73beba3

25 files changed

+78
-54
lines changed

src/pages/reference/chisel/chisel.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ EVM options:
277277
--ffi
278278
Enable the FFI cheatcode
279279
280+
--live-logs
281+
Whether to show `console.log` outputs in realtime during script/test
282+
execution
283+
280284
--always-use-create-2-factory
281285
Use the create 2 factory in all cases including tests and
282286
non-broadcasting scripts

src/pages/reference/forge/config.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ EVM options:
268268
--ffi
269269
Enable the FFI cheatcode
270270
271+
--live-logs
272+
Whether to show `console.log` outputs in realtime during script/test
273+
execution
274+
271275
--always-use-create-2-factory
272276
Use the create 2 factory in all cases including tests and
273277
non-broadcasting scripts

src/pages/reference/forge/coverage.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ EVM options:
288288
--ffi
289289
Enable the FFI cheatcode
290290
291+
--live-logs
292+
Whether to show `console.log` outputs in realtime during script/test
293+
execution
294+
291295
--always-use-create-2-factory
292296
Use the create 2 factory in all cases including tests and
293297
non-broadcasting scripts

src/pages/reference/forge/script.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,10 @@ EVM options:
462462
--ffi
463463
Enable the FFI cheatcode
464464
465+
--live-logs
466+
Whether to show `console.log` outputs in realtime during script/test
467+
execution
468+
465469
--always-use-create-2-factory
466470
Use the create 2 factory in all cases including tests and
467471
non-broadcasting scripts

src/pages/reference/forge/snapshot.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ EVM options:
282282
--ffi
283283
Enable the FFI cheatcode
284284
285+
--live-logs
286+
Whether to show `console.log` outputs in realtime during script/test
287+
execution
288+
285289
--always-use-create-2-factory
286290
Use the create 2 factory in all cases including tests and
287291
non-broadcasting scripts

src/pages/reference/forge/test.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ EVM options:
251251
--ffi
252252
Enable the FFI cheatcode
253253
254+
--live-logs
255+
Whether to show `console.log` outputs in realtime during script/test
256+
execution
257+
254258
--always-use-create-2-factory
255259
Use the create 2 factory in all cases including tests and
256260
non-broadcasting scripts

src/snippets/output/cheatcodes/forge-test-cheatcodes-expectrevert

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
$ forge test --match-test "test_IncrementAsOwner|test_RevertWhen_CallerIsNotOwner" --match-path test/OwnerUpOnly.t.sol
44
// [!endregion command]
55
// [!region output]
6-
Solc 0.8.10 finished in 680.39ms
6+
Solc 0.8.10 finished in 694.80ms
77
Compiler run successful!
88
Ran 2 tests for test/OwnerUpOnly.t.sol:OwnerUpOnlyTest
99
[PASS] test_IncrementAsOwner() (gas: 29808)
1010
[PASS] test_RevertWhen_CallerIsNotOwner() (gas: 8923)
11-
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 420.42µs (176.63µs CPU time)
12-
Ran 1 test suite in 8.04ms (420.42µs CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
11+
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 401.45µs (177.99µs CPU time)
12+
Ran 1 test suite in 7.91ms (401.45µs CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
1313
// [!endregion output]
1414
// [!endregion all]

src/snippets/output/cheatcodes/forge-test-fail-vvv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ forge test --match-test test_WithdrawAsNotOwner --match-path test/FailingTest.t.sol -vvv --allow-failure
44
// [!endregion command]
55
// [!region output]
6-
Solc 0.8.10 finished in 639.54ms
6+
Solc 0.8.10 finished in 638.55ms
77
Compiler run successful!
88
Ran 1 test for test/FailingTest.t.sol:VaultTest
99
[FAIL: Unauthorized()] test_WithdrawAsNotOwner() (gas: 8418)
@@ -17,7 +17,7 @@ Traces:
1717
Backtrace:
1818
at Vault.withdraw
1919
at VaultTest.test_WithdrawAsNotOwner
20-
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 249.96µs (51.51µs CPU time)
21-
Ran 1 test suite in 8.72ms (249.96µs CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests)
20+
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 240.87µs (45.45µs CPU time)
21+
Ran 1 test suite in 9.04ms (240.87µs CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests)
2222
// [!endregion output]
2323
// [!endregion all]

src/snippets/output/cheatcodes/forge-test-vvv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Compiling...
77
No files changed, compilation skipped
88
Ran 1 test for test/OwnerUpOnly.t.sol:OwnerUpOnlyTest
99
[PASS] test_IncrementAsOwner() (gas: 29808)
10-
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 256.95µs (47.85µs CPU time)
11-
Ran 1 test suite in 7.96ms (256.95µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
10+
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 397.87µs (74.86µs CPU time)
11+
Ran 1 test suite in 8.34ms (397.87µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
1212
// [!endregion output]
1313
// [!endregion all]

src/snippets/output/cheatcodes/forge-test-vvvv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Traces:
1616
├─ [407] OwnerUpOnly::count() [staticcall]
1717
│ └─ ← [Return] 1
1818
└─ ← [Stop]
19-
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 288.76µs (54.88µs CPU time)
20-
Ran 1 test suite in 7.73ms (288.76µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
19+
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 244.63µs (51.31µs CPU time)
20+
Ran 1 test suite in 8.04ms (244.63µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
2121
// [!endregion output]
2222
// [!endregion all]

0 commit comments

Comments
 (0)