Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert t/mojo/json_pointer.t to use subtests #1570

Merged
merged 1 commit into from Oct 16, 2020

Conversation

dz-at-tc
Copy link
Contributor

Summary

Convert t/mojo/json_pointer.t to use subtests.

Motivation

One more file converted.

References

Issue #1520

@dz-at-tc
Copy link
Contributor Author

Note that I was not 100% sure how you wanted to handle the various "get" subtests that share the $pointer variable across subtests. At least for now I left the sharing in place and created nested subtests (though I'm certainly not in love with the name "[shared pointer]"... patches welcome!).

Actually, as I write this it finally dawned on me that all I really had to do was factor out the variable, not add a nested subtest... Mea culpa, I will fix that now and re-push shortly...

@dz-at-tc dz-at-tc force-pushed the add_subtests_to_json_pointer_t branch from 0b07619 to 9328299 Compare October 10, 2020 16:56
t/mojo/json_pointer.t Outdated Show resolved Hide resolved
@dz-at-tc dz-at-tc force-pushed the add_subtests_to_json_pointer_t branch from 9328299 to a53f467 Compare October 10, 2020 23:56
t/mojo/json_pointer.t Outdated Show resolved Hide resolved
@dz-at-tc dz-at-tc force-pushed the add_subtests_to_json_pointer_t branch from a53f467 to 92cda9f Compare October 11, 2020 15:16
@kraih kraih requested a review from a team October 11, 2020 15:17
@dz-at-tc dz-at-tc requested review from Grinnz and removed request for a team October 15, 2020 15:37
@kraih kraih requested a review from a team October 16, 2020 20:18
@mergify mergify bot merged commit bcdb061 into mojolicious:master Oct 16, 2020
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.

None yet

4 participants