(base_app)
| 600 | |
| 601 | |
| 602 | def test_history_with_integer_span(base_app) -> None: |
| 603 | run_cmd(base_app, "help") |
| 604 | run_cmd(base_app, "shortcuts") |
| 605 | run_cmd(base_app, "help history") |
| 606 | out, _err = run_cmd(base_app, "history 1..2") |
| 607 | expected = normalize( |
| 608 | """ |
| 609 | 1 help |
| 610 | 2 shortcuts |
| 611 | """ |
| 612 | ) |
| 613 | assert out == expected |
| 614 | verify_hi_last_result(base_app, 2) |
| 615 | |
| 616 | |
| 617 | def test_history_with_span_start(base_app) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…