Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2e559584
Unverified
Commit
2e559584
authored
Jun 22, 2018
by
Andrew Davies
Committed by
GitHub
Jun 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[frdb][test] Fix analyzer issues (#18743)
Unbreaks flutter-build
parent
1a372afb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
dart_vm_test.dart
...sia_remote_debug_protocol/test/src/dart/dart_vm_test.dart
+2
-4
No files found.
packages/fuchsia_remote_debug_protocol/test/src/dart/dart_vm_test.dart
View file @
2e559584
...
...
@@ -140,8 +140,7 @@ void main() {
};
Future
<
json_rpc
.
Peer
>
mockVmConnectionFunction
(
Uri
uri
)
{
when
(
mockPeer
.
sendRequest
(
typed
<
String
>(
any
),
typed
<
Map
<
String
,
dynamic
>>(
any
)))
when
(
mockPeer
.
sendRequest
(
any
,
any
))
.
thenAnswer
((
_
)
=>
new
Future
<
Map
<
String
,
dynamic
>>(
()
=>
flutterViewCannedResponses
));
return
new
Future
<
json_rpc
.
Peer
>(()
=>
mockPeer
);
...
...
@@ -235,8 +234,7 @@ void main() {
};
Future
<
json_rpc
.
Peer
>
mockVmConnectionFunction
(
Uri
uri
)
{
when
(
mockPeer
.
sendRequest
(
typed
<
String
>(
any
),
typed
<
Map
<
String
,
dynamic
>>(
any
)))
when
(
mockPeer
.
sendRequest
(
any
,
any
))
.
thenAnswer
((
_
)
=>
new
Future
<
Map
<
String
,
dynamic
>>(()
=>
vmCannedResponse
));
return
new
Future
<
json_rpc
.
Peer
>(()
=>
mockPeer
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment