Skip to content

test(config): sync tui_config test with new GeneralConfig fields#55

Merged
roramirez merged 1 commit into
mainfrom
fix-ci-test
Jun 30, 2026
Merged

test(config): sync tui_config test with new GeneralConfig fields#55
roramirez merged 1 commit into
mainfrom
fix-ci-test

Conversation

@roramirez

Copy link
Copy Markdown
Owner

Summary

Fixes the failing CI Test job (run 28412896150).

GeneralConfig gained two fields (shell_integration, desktop_notifications) and the production code was fully wired, but the tui_config test lagged behind in two places:

  1. The GeneralConfig { ... } struct literal omitted both fields → error[E0063], blocking the whole test build.
  2. field_index_sanity asserted 39 F_* slots against the real 41 fields.

This adds the missing fields to the literal and the two constants (F_SHELL_INTEGRATION, F_DESKTOP_NOTIFICATIONS) to the occupied vec.

Verification

  • cargo fmt --check — clean
  • cargo clippy --locked -- -D warnings — clean
  • cargo test --locked — 1191 passing

The GeneralConfig struct gained shell_integration and
desktop_notifications fields, but the tui_config test lagged behind:
the struct literal omitted both fields (E0063) and field_index_sanity
asserted 39 F_* slots against the real 41. Add the missing fields to
the literal and the two constants to the occupied vec.
@roramirez roramirez merged commit 8446e56 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