Skip to content

Add unit tests for ParseLSN - #87

Merged
jackc merged 1 commit into
jackc:masterfrom
zeeshangolang:add-parselsn-tests
Nov 11, 2026
Merged

jackc merged 1 commit into
jackc:masterfrom
zeeshangolang:add-parselsn-tests

Conversation

@zeeshangolang

Copy link
Copy Markdown
Contributor

ParseLSN had no direct tests (TestLSNSuite covers Scan, Value and String only). This adds a table-driven test covering valid values (zero, typical, lowercase hex, upper-half-only, max uint64) and malformed input (empty, missing slash, missing halves, non-hex). Test-only change, no behavior changes.

@jackc
jackc merged commit d50336b into jackc:master Nov 11, 2026
12 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