Skip to content

Commit 4cdc756

Browse files
committed
Cover the last persisted history command boundary
1 parent 28212f4 commit 4cdc756

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_history.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ def test_history_zero_endpoint_has_command_one_hint(hist, selector) -> None:
12781278
assert "The first command in history is command 1." in str(error.value)
12791279

12801280

1281-
@pytest.mark.parametrize("selector", ["1", "-6", ":2", "1:5", "2:", "-6:-1"])
1281+
@pytest.mark.parametrize("selector", ["1", "-6", ":2", "1:5", "2:", "-6:-1", "4", "-3", "4:5"])
12821282
@pytest.mark.parametrize("action", ["--run", "--edit"])
12831283
def test_history_persisted_actions_require_all(base_app, persisted_hist, monkeypatch, selector, action) -> None:
12841284
base_app.history = persisted_hist

0 commit comments

Comments
 (0)