Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/code/deepagents_code/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15312,7 +15312,7 @@ async def _handle_command(self, command: str) -> None:
await self._toggle_diff_line_numbers()
label = "shown" if self._show_diff_line_numbers else "hidden"
self.notify(
f"Diff line numbers {label} for new diffs.",
f"Line numbers {label} for new diffs.",
severity="information",
timeout=5,
markup=False,
Expand Down
10 changes: 2 additions & 8 deletions libs/code/tests/unit_tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16088,10 +16088,7 @@ async def test_command_toggles_state_and_toasts(
assert app._ui_adapter is not None
assert app._ui_adapter._show_diff_line_numbers is False
notify_mock.assert_called_once()
assert (
notify_mock.call_args.args[0]
== "Diff line numbers hidden for new diffs."
)
assert notify_mock.call_args.args[0] == "Line numbers hidden for new diffs."
assert notify_mock.call_args.kwargs.get("severity") == "information"
assert notify_mock.call_args.kwargs.get("markup") is False

Expand All @@ -16102,10 +16099,7 @@ async def test_command_toggles_state_and_toasts(
assert app._show_diff_line_numbers is True
assert app._ui_adapter._show_diff_line_numbers is True
notify_mock.assert_called_once()
assert (
notify_mock.call_args.args[0]
== "Diff line numbers shown for new diffs."
)
assert notify_mock.call_args.args[0] == "Line numbers shown for new diffs."


class TestDebugConsoleClickToCopyPreference:
Expand Down