Skip to content

test: cover critical paths in input_ops, app_event, and restore#54

Merged
roramirez merged 1 commit into
mainfrom
tests/06-critical-paths
Jun 30, 2026
Merged

test: cover critical paths in input_ops, app_event, and restore#54
roramirez merged 1 commit into
mainfrom
tests/06-critical-paths

Conversation

@roramirez

@roramirez roramirez commented Jun 30, 2026

Copy link
Copy Markdown
Owner

What

Several modules with non-trivial state logic had no sibling *_test.rs. Add coverage for the highest-value, display-independent paths.

Changes

  • input_ops: bracketed_paste_encode — wrapping, passthrough, and empty/newline payloads.
  • app_event: search history — append/dedup/clear and the 50-entry cap (push_search_history).
  • restore: restore_session falling back to $HOME for a missing or empty CWD, and the empty-tabs no-op (headless App helper, skipped when no display is available).

winit_handler::next_bell_wakeup is already covered in main_test.rs, so no duplicate file was added.

Card

plan-todo/06-tests-rutas-criticas.md

Several modules with non-trivial state logic had no sibling *_test.rs.
Add focused coverage for the highest-value, display-independent paths:

- input_ops: bracketed_paste_encode wrapping, passthrough, and empty/
  newline payloads
- app_event: search-history append/dedup/clear and the 50-entry cap
  (push_search_history)
- restore: restore_session falling back to $HOME for a missing or empty
  CWD, and the empty-tabs no-op (headless App helper, skipped when no
  display is available)

winit_handler::next_bell_wakeup is already covered in main_test.rs, so no
duplicate file was added.
@roramirez roramirez merged commit e22db9d into main Jun 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant