diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-20 09:34:26 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-20 09:34:26 +0300 |
| commit | ecc66fcf9241c429cf2378f09793ecef3a00b098 (patch) | |
| tree | 4e671982bec11a6d12a1374b56bae2b89f0f4287 /internal/errors/errors.go | |
| parent | c24e18b68b29384d2f63d44bfcbc9c02423edf78 (diff) | |
Fix line ending issue in dcat and add integration tests
- Fixed missing line endings in dcat output when not using --plain mode
- Scanner.Bytes() strips newlines, so added logic to restore them
- Only CatProcessor needs newlines added (GrepProcessor already adds them)
- Added comprehensive integration tests for both dcat and dgrep line endings
- Tests cover: basic usage, plain mode, multiple files, empty files, CRLF handling
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/errors/errors.go')
0 files changed, 0 insertions, 0 deletions
