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

Side by Side Diff: test/global/binstubs/no_executables_flag_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 'package:scheduled_test/scheduled_test.dart';
6
7 import '../../descriptor.dart' as d; 5 import '../../descriptor.dart' as d;
8 import '../../test_pub.dart'; 6 import '../../test_pub.dart';
9 7
10 main() { 8 main() {
11 integration("does not create binstubs if --no-executables is passed", () { 9 integration("does not create binstubs if --no-executables is passed", () {
12 d.dir("foo", [ 10 d.dir("foo", [
13 d.pubspec({ 11 d.pubspec({
14 "name": "foo", 12 "name": "foo",
15 "executables": { 13 "executables": {
16 "one": null 14 "one": null
(...skipping 11 matching lines...) Expand all
28 ]); 26 ]);
29 27
30 // Should still delete old one. 28 // Should still delete old one.
31 d.dir(cachePath, [ 29 d.dir(cachePath, [
32 d.dir("bin", [ 30 d.dir("bin", [
33 d.nothing(binStubName("one")) 31 d.nothing(binStubName("one"))
34 ]) 32 ])
35 ]).validate(); 33 ]).validate();
36 }); 34 });
37 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698