Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Side by Side Diff: test/run/resource_test.dart

Issue 1556243002: Fix analyzer hints and warnings in test/. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async';
6
7 import 'package:path/path.dart' as p;
8 import 'package:scheduled_test/scheduled_test.dart'; 5 import 'package:scheduled_test/scheduled_test.dart';
9 6
10 import '../descriptor.dart' as d; 7 import '../descriptor.dart' as d;
11 import '../test_pub.dart'; 8 import '../test_pub.dart';
12 9
13 const TRANSFORMER = """ 10 const TRANSFORMER = """
14 import 'dart:async'; 11 import 'dart:async';
15 12
16 import 'package:barback/barback.dart'; 13 import 'package:barback/barback.dart';
17 14
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 162
166 var pub = pubRun(args: ["foo:script"]); 163 var pub = pubRun(args: ["foo:script"]);
167 164
168 // TODO(nweiz): Enable this when sdk#23990 is fixed. 165 // TODO(nweiz): Enable this when sdk#23990 is fixed.
169 // pub.stdout.expect(p.toUri(p.join(sandboxDir, "foo/lib/resource.txt"))); 166 // pub.stdout.expect(p.toUri(p.join(sandboxDir, "foo/lib/resource.txt")));
170 167
171 pub.stdout.expect("hello!"); 168 pub.stdout.expect("hello!");
172 pub.shouldExit(0); 169 pub.shouldExit(0);
173 }); 170 });
174 } 171 }
OLDNEW
« no previous file with comments | « test/run/forwards_signal_posix_test.dart ('k') | test/run/runs_from_a_dependency_override_after_dependency_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698