-
Notifications
You must be signed in to change notification settings - Fork 83
Migrate tests using evaluate_common
to null-safety
#1714
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
|
||
setUp(() async { | ||
setCurrentLogWriter(debug: debug); | ||
vm = await setup.service.getVM(); | ||
isolate = await setup.service.getIsolate(vm.isolates.first.id); | ||
scripts = await setup.service.getScripts(isolate.id); | ||
isolate = await setup.service.getIsolate(vm.isolates!.first.id!); |
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.
add a non-nulable isolateId variable for convenience?
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
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.
LGTM with some comments.
throwsSentinelException); | ||
}); | ||
}); | ||
}); | ||
|
||
group('evaluate', () { | ||
VM vm; | ||
Isolate isolate; | ||
late Isolate isolate; |
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.
add a non-nullable isolateId
variable for convenience?
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
@@ -605,35 +603,35 @@ void testAll({ | |||
|
|||
group('evaluateInFrame', () { | |||
VM vm; | |||
Isolate isolate; | |||
late Isolate isolate; |
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.
similar here
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
No description provided.