-
Notifications
You must be signed in to change notification settings - Fork 165
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
Emit errors for collection assignments #3456
Conversation
Pull Request Test Coverage Report for Build 6407334697
💛 - Coveralls |
[TestCase("IgnoreObjectNullabilityClass")] | ||
[TestCase("UnsupportedBacklink", "UnsupportedBacklink", "BacklinkObj")] | ||
public async Task ErrorComparisonTest(string filename, params string[] classNames) | ||
public static object[][] ErrorTestCases = Directory.GetFiles(_errorClassesPath) |
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.
I understand the sentiment, but you have to admit it's kinda ugly 😁
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.
Agree, but we clearly forget to add test cases there - the CollectionError tests were missing and I was wondering for quite some time why nothing is failing when I changed my code 😅
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.
I reworked the test discovery - let me know if now it's prettier 😜
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.
Regexes ftw it seems! It looks better I think ;)
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.
Looks good!
* main: Small fixes to source generator (#3466) Make websocket error logging exceptionally verbose (#3459) Emit errors for collection assignments (#3456) Fix docfx source files (#3453) Fix typo (#3454) Add User.Changed event (#3433) Allow customizing json ignore attribute for serialized classes (#3451) Update README.md (#3450) Fix changelog Prepare for vNext (#3444) Prepare for 11.5.0 (#3442)
Description
Fixes #3455
TODO