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

Unified Diff: test/global/activate/activate_hosted_after_git_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, 12 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 side-by-side diff with in-line comments
Download patch
Index: test/global/activate/activate_hosted_after_git_test.dart
diff --git a/test/global/activate/activate_hosted_after_git_test.dart b/test/global/activate/activate_hosted_after_git_test.dart
index 514aaf57336735943917254fad46bc496fe05da6..50e1c8d4b03233e30ecfca044146b037c17e229d 100644
--- a/test/global/activate/activate_hosted_after_git_test.dart
+++ b/test/global/activate/activate_hosted_after_git_test.dart
@@ -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 'package:path/path.dart' as p;
import 'package:pub/src/io.dart';
import '../../descriptor.dart' as d;
@@ -27,7 +26,6 @@ main() {
schedulePub(args: ["global", "activate", "-sgit", "../foo.git"]);
- var path = canonicalize(p.join(sandboxDir, "foo"));
schedulePub(args: ["global", "activate", "foo"], output: """
Package foo is currently active from Git repository "../foo.git".
Resolving dependencies...
« no previous file with comments | « test/get/hosted/gets_a_package_with_busted_dev_dependencies_test.dart ('k') | test/global/activate/outdated_binstub_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698