(base_app)
| 553 | |
| 554 | |
| 555 | def test_history_expanded_with_string_argument(base_app) -> None: |
| 556 | run_cmd(base_app, "alias create sc shortcuts") |
| 557 | run_cmd(base_app, "help") |
| 558 | run_cmd(base_app, "help history") |
| 559 | run_cmd(base_app, "sc") |
| 560 | out, _err = run_cmd(base_app, "history -v shortcuts") |
| 561 | expected = normalize( |
| 562 | """ |
| 563 | 1 alias create sc shortcuts |
| 564 | 4 sc |
| 565 | 4x shortcuts |
| 566 | """ |
| 567 | ) |
| 568 | assert out == expected |
| 569 | verify_hi_last_result(base_app, 2) |
| 570 | |
| 571 | |
| 572 | def test_history_expanded_with_regex_argument(base_app) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…