Skip to content

Conversation

@bbockelm
Copy link
Collaborator

The lexer previously could only work with a string, requiring various gymnastics to work with IO readers. Now, the lexer works with an io.Reader by default, greatly simplifying the task of reading multiple ClassAds from a file.

Greatly increased the unit test coverage around the parser and lexers; even found a small bug that incorrectly handled flattening.

The lexer previously could only work with a string, requiring
various gymnastics to work with IO readers.  Now, the lexer works
with an `io.Reader` by default, greatly simplifying the task of reading
multiple ClassAds from a file.

Greatly increased the unit test coverage around the parser and lexers;
even found a small bug that incorrectly handled flattening.
@codecov
Copy link

codecov bot commented Dec 13, 2025

Codecov Report

❌ Patch coverage is 81.94175% with 93 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
parser/streaming_lexer.go 80.17% 64 Missing and 28 partials ⚠️
parser/parser.go 93.33% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@bbockelm bbockelm merged commit 78792f5 into main Dec 13, 2025
5 checks passed
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.

2 participants