teknium1
|
0df7df52f3
|
test: expand slash command autocomplete coverage (PR #645 follow-up)
- Fix failing test: use display_text/display_meta_text instead of str()
on prompt_toolkit FormattedText objects
- Add regression guard: EXPECTED_COMMANDS set ensures no command
silently disappears from the shared dict
- Add edge case tests: non-slash input, empty input, partial vs exact
match trailing space, builtin display_meta content
- Add skill provider tests: None provider, exception swallowing,
description truncation at 50 chars, missing description fallback,
exact-match trailing space on skill commands
- Total: 15 tests (up from 4)
|
2026-03-08 03:53:22 -07:00 |
|