Commit 9f41aaf
committed
tests/cli(test[search]): Add comprehensive unit test coverage
why: New search module needed unit tests for helper functions and edge cases.
what:
- Add unit tests for normalize_fields, parse_query_terms, compile_search_patterns
- Add highlight_text tests with color modes enabled/disabled
- Add search_repos tests for url/workspace field matches, error handling
- Test auto-discover config path and invalid input handling1 parent d985264 commit 9f41aaf
1 file changed
+543
-1
lines changed
0 commit comments