You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: add comprehensive multi-line JSON parsing tests for ripgrep results
Expand test coverage for parseRipgrepResults to simulate realistic
ripgrep --json output with multiple JSON objects per line.
- Add multi-line JSON test with begin/match/end sequence
- Test graceful handling of malformed JSON lines
- Add edge cases for empty and whitespace-only input
- Better coverage of real-world ripgrep output scenarios
{"type":"match","data":{"path":{"text":"/path/file1.ts"},"lines":{"text":" console.log(\\"[TLOG] first match\\");"},"line_number":5,"submatches":[{"start":2}]}}
52
+
{"type":"match","data":{"path":{"text":"/path/file2.ts"},"lines":{"text":"console.log(\\"[TLOG] second match\\");"},"line_number":12,"submatches":[{"start":0}]}}
0 commit comments