Skip to content

Conversation

@strider2038
Copy link
Contributor

No description provided.

- Introduced `LinesHas` and `FileLinesHas` functions for asserting multiple JSON objects in NDJSON format.
- Updated documentation in EXAMPLES.md and README.md to include usage examples for JSON Lines.
- Added unit tests for new functionality in lines_test.go.
- Implemented parsing logic for JSON Lines in lines.go.
…ber checks

- Added `WithPrefix` and `WithSuffix` methods to assert JSON string values against specified prefixes and suffixes.
- Introduced `WithInteger` and `WithNumber` methods to validate that JSON string values represent integers and numbers, respectively.
- Updated EXAMPLES.md to include new assertion examples.
- Expanded unit tests in assertjson_test.go to cover new assertion functionalities.
- Introduced `IsStrings` method to assert that a JSON node is an array of strings.
- Added various assertion methods for array length, uniqueness, and content checks.
- Updated EXAMPLES.md with new usage examples for array of strings assertions.
- Expanded unit tests in assertjson_test.go to cover new assertions and their failure cases.
@strider2038 strider2038 merged commit a3e6ffc into master Feb 7, 2026
1 check passed
@strider2038 strider2038 deleted the next branch February 7, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant