Skip to content

Conversation

@pszulczewski
Copy link
Collaborator

This PR fixes the ref_key to pin it to the exact key, as mentioned in #92 conversation.


if regex_match_anchor and not element.startswith("[") and not element.endswith("]"):
splitted_jmespath = splitted_jmespath[: number + 1]
splitted_jmespath = splitted_jmespath[:number]
Copy link
Collaborator Author

@pszulczewski pszulczewski Apr 18, 2023

Choose a reason for hiding this comment

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

Here is the change to fix it.
Other changes are just $$ moved right and tests have been reordered to follow the pattern:
-> define test cases params
-> wrap above test cases into a list
-> test function for the wrapped list with test cases.
plus one additional test case keyref_parser_case_5

@jeffkala
Copy link
Collaborator

looks good

@pszulczewski pszulczewski merged commit e8280c7 into develop Apr 19, 2023
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.

3 participants