Skip to content

test: cover JSON Pointer escaping - #38

Merged
kikashy merged 2 commits into
Judgment-Pack:mainfrom
Shriprasad-P:test/json-pointer-escaping
Aug 6, 2026
Merged

kikashy merged 2 commits into
Judgment-Pack:mainfrom
Shriprasad-P:test/json-pointer-escaping

Conversation

@Shriprasad-P

@Shriprasad-P Shriprasad-P commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add table-driven tests for the pointer() helper
  • cover root pointers
  • cover numeric indices
  • cover slash escaping
  • cover tilde escaping
  • use subTest for clear failure reporting

Testing

  • python tests/test_repository.py -v
  • python -m unittest discover -s tests -v

Closes #32

@kikashy

kikashy commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Thanks, @Shriprasad-P. I reviewed this and it matches #32 exactly: the change is test-only, covers all requested pointer cases, uses subTest, and includes the required DCO sign-off. I don't have any code changes to request.

The repository-conformance and preview workflows are currently waiting for first-time-contributor approval. Once a maintainer approves those runs and they pass, this should be ready to merge.

@kikashy kikashy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dcoapp recheck

@kikashy kikashy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. The focused table-driven test covers every acceptance criterion from #32, remains test-only, and repository conformance plus DCO pass.

@kikashy
kikashy merged commit cf5570c into Judgment-Pack:main Aug 6, 2026
4 checks passed
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution to Judgment Pack!

If you’d like another task, choose a path that interests you:

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.

Add table-driven tests for JSON Pointer escaping

2 participants