-
Notifications
You must be signed in to change notification settings - Fork 97
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
Negative test case for variant_count
#854
Conversation
Should we check what kind of error is given to the user? |
The test is intentionally written this way to avoid error checking and to enable a smooth transition into a positive test. This is a good candidate for the newer testing suite we were discussing, and I want to move all these negative tests into that suite once it is available. But we can move it to |
Can you add the version without comments as a fixme test? |
f5e004a
to
3258692
Compare
3258692
to
56ca888
Compare
@celinval just added the "fixme" test as requested and updated the negative one (removed commented out code to make it simpler). |
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!
* Negative test case for `variant_count` * Add "fixme" test and update negative test Co-authored-by: Celina G. Val <celinval@amazon.com>
* Negative test case for `variant_count` * Add "fixme" test and update negative test Co-authored-by: Celina G. Val <celinval@amazon.com>
* Negative test case for `variant_count` * Add "fixme" test and update negative test Co-authored-by: Celina G. Val <celinval@amazon.com>
* Negative test case for `variant_count` * Add "fixme" test and update negative test Co-authored-by: Celina G. Val <celinval@amazon.com>
Description of changes:
Adds a negative test for the
variant_count
intrinsic. Can easily converted into a positive one when support is added.Resolved issues:
Part of #727
Call-outs:
Testing:
How is this change tested? Adding another test.
Is this a refactor change? N/A
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.