-
Notifications
You must be signed in to change notification settings - Fork 201
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
feat(sdk): adding std.Map tests #4336
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work! super thorough work 👏 👏
@tsuf239 can you approve if you think it is ready? |
@WeepingClown13 great work!!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing, @WeepingClown13! This PR will now be added to the merge queue, or immediately merged if |
Oh thanks. I just added another commit to add a comment about the mentioned bug and finished building it but sure😂 |
Congrats! 🚀 This was released in Wing 0.34.8. |
This is the first time I am writing tests, so admittedly my tests are not that versatile. But as I also believe that std tests should be straightforward, I do not totally mind it. Since
keys()
andvalues()
methods of maps seems to return an array that fails to assert "is the same as another array of same elements" (which seems to be a bug), I had to iterate over the array values and confirm it works as expected.closes: #4363
Checklist
pr/e2e-full
label if this feature requires end-to-end testingBy submitting this pull request, I confirm that my contribution is made under the terms of the Wing Cloud Contribution License.