-
Notifications
You must be signed in to change notification settings - Fork 83
Fix test cases failing with latest Dart SDK #2312
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
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.
Thanks for fixing this break!
dwds/test/inspector_test.dart
Outdated
@@ -160,6 +161,10 @@ void main() { | |||
final names = | |||
properties.map((p) => p.name).where((x) => x != '__proto__').toList(); | |||
final expected = [ | |||
if (dartSdkIsAtLeast( | |||
'3.3.0-242.0.dev', |
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.
If this is the known cutoff point, could we store it in a const in a shared lib?
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.
Done!
if (dartSdkIsAtLeast( | ||
'3.3.0-242.0.dev', | ||
)) | ||
'T', |
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 think this is fine to do to get things working, but we likely don't want T
to be exposed here - as it's not meant to be user-visible.
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.
Added a TODO and opened an issue
This reverts commit 2ef79f1.
This reverts commit 2563295.
Uh oh!
There was an error while loading. Please reload this page.