Skip to content

Add PathElement struct comparison to TestPathElementRoundTrip#314

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
inteon:tests_add_state
Feb 24, 2026
Merged

Add PathElement struct comparison to TestPathElementRoundTrip#314
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
inteon:tests_add_state

Conversation

@inteon

@inteon inteon commented Feb 19, 2026

Copy link
Copy Markdown
Member

"The existing unit tests for DeserializePathElement (e.g., TestPathElementRoundTrip) only verify that the deserialized element can be round-tripped back into a string. The tests need to be updated to assert the actual in-memory state of the PathElement object returned by the DeserializePathElement function. This ensures that the function correctly populates the internal structure of the PathElement, not just its string representation." - SMD #292 Action items

This PR adds these struct comparisions to the TestPathElementRoundTrip test.

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 19, 2026
@liggitt

liggitt commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 24, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: inteon, liggitt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 24, 2026
@k8s-ci-robot
k8s-ci-robot merged commit 7ba0b4e into kubernetes-sigs:master Feb 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants