Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces additional test cases for the fold command by adding new YAML configuration files and associated fixed-width data files. It also updates the test harness to point to the correct file paths and extends dependency management in go.mod.
- Added test data schemas and configuration files for nested, multiple field, and simple record cases.
- Updated file references in the test runner (fold_test.go) for the new complete test cases.
- Extended go.mod with new dependencies to support additional test coverage.
Reviewed Changes
Copilot reviewed 80 out of 80 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| internal/appli/command/testdata/fold/04-nested/schema.yaml | Added nested schema definition for PERSON and EMPLOYMENT records. |
| internal/appli/command/testdata/fold/04-nested.yaml | Added configuration for nested record test with separator. |
| internal/appli/command/testdata/fold/03-multiple/*.yaml and files | Added schema and test data for multiple field record test without separator. |
| internal/appli/command/testdata/fold/02-simple-separator/* | Added schema, test configuration and fixed-width data for a record test with newline separator. |
| internal/appli/command/testdata/fold/01-simple/* | Added schema, test configuration and fixed-width data for a record test without separator. |
| internal/appli/command/fold_test.go | Updated file paths in test harness to use new complete test files. |
| internal/appli/command/command_test.go | Added helper functions to load and run command tests from file. |
| go.mod | Extended dependency list with new test-related modules. |
internal/appli/command/testdata/fold/02-simple-separator/stdout.jsonl
Outdated
Show resolved
Hide resolved
internal/appli/command/testdata/fold/02-simple-separator/stdin.fixed-width
Outdated
Show resolved
Hide resolved
internal/appli/command/testdata/fold/01-simple/stdin.fixed-width
Outdated
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.