Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
chromium.googlesource.com-external-github.com-dart-lang-test
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
chromium.googlesource.com-external-github.com-dart-lang-test
Commits
3230bd99
Commit
3230bd99
authored
8 years ago
by
Kevin Moore
Browse files
Options
Downloads
Patches
Plain Diff
Fix a few analyzer warnings
R=nweiz@google.com Review URL:
https://codereview.chromium.org//2285133005
.
parent
55024d3a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/src/runner/browser/post_message_channel.dart
+0
-1
0 additions, 1 deletion
lib/src/runner/browser/post_message_channel.dart
test/io.dart
+5
-7
5 additions, 7 deletions
test/io.dart
with
5 additions
and
8 deletions
lib/src/runner/browser/post_message_channel.dart
+
0
−
1
View file @
3230bd99
...
...
@@ -2,7 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import
'dart:convert'
;
import
'dart:html'
;
import
'package:stream_channel/stream_channel.dart'
;
...
...
This diff is collapsed.
Click to expand it.
test/io.dart
+
5
−
7
View file @
3230bd99
...
...
@@ -8,7 +8,6 @@ library test.test.io;
import
'dart:async'
;
import
'dart:io'
;
import
'dart:isolate'
;
import
'package:package_resolver/package_resolver.dart'
;
import
'package:path/path.dart'
as
p
;
...
...
@@ -134,12 +133,11 @@ ScheduledProcess runTest(List<String> args, {String reporter,
/// Runs Dart.
ScheduledProcess
runDart
(
List
<
String
>
args
,
{
Map
<
String
,
String
>
environment
,
String
description
})
{
var
allArgs
=
Platform
.
executableArguments
.
where
((
arg
)
=
>
!
arg
.
startsWith
(
"--package-root="
)
&&
!
arg
.
startsWith
(
"--packages="
))
.
toList
()
.
.
add
(
PackageResolver
.
current
.
processArgument
)
.
.
addAll
(
args
);
var
allArgs
=
<
Object
>[]
.
.
addAll
(
Platform
.
executableArguments
.
where
((
arg
)
=
>
!
arg
.
startsWith
(
"--package-root="
)
&&
!
arg
.
startsWith
(
"--packages="
)))
.
.
add
(
PackageResolver
.
current
.
processArgument
)
.
.
addAll
(
args
);
return
new
ScheduledProcess
.
start
(
p
.
absolute
(
Platform
.
resolvedExecutable
),
allArgs
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment