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

Add more specs for YAML::Any#[] and #[]? #11646

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Dec 23, 2021

This patch just adds some specs for Any#[] and Any#[]? which test with all YAML types as keys/indices.

Note: This just describes the current behaviour which has some shady edges. I'd like to merge this first and then work on several individual enhancements.

@jkthorne
Copy link
Contributor

The purpose of these specs are not super obvious to me. it seems like each test case is testing multiple edge cases and the naming is fairly generic. I think breaking the test cases up might help with legibility.

@beta-ziliani beta-ziliani added this to the 1.8.0 milestone Feb 1, 2023
@straight-shoota straight-shoota merged commit 7d4f9b2 into crystal-lang:master Feb 2, 2023
@straight-shoota straight-shoota deleted the feature/yaml-any-fetch-specs branch February 2, 2023 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants