(base_app)
| 524 | |
| 525 | |
| 526 | def test_history_script_format(base_app) -> None: |
| 527 | run_cmd(base_app, "help") |
| 528 | run_cmd(base_app, "shortcuts") |
| 529 | out, _err = run_cmd(base_app, "history -s") |
| 530 | expected = normalize( |
| 531 | """ |
| 532 | help |
| 533 | shortcuts |
| 534 | """ |
| 535 | ) |
| 536 | assert out == expected |
| 537 | verify_hi_last_result(base_app, 2) |
| 538 | |
| 539 | |
| 540 | def test_history_with_string_argument(base_app) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…