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

Unified Diff: test/lock_file_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
« no previous file with comments | « test/io_test.dart ('k') | test/must_pub_get_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/lock_file_test.dart
diff --git a/test/lock_file_test.dart b/test/lock_file_test.dart
index 4cb5751b1a4239c90d070126d5df68eed67c7f66..acc448f7065cfbaef0e05098267aa99da1065e29 100644
--- a/test/lock_file_test.dart
+++ b/test/lock_file_test.dart
@@ -15,8 +15,6 @@ import 'package:pub_semver/pub_semver.dart';
import 'package:test/test.dart';
import 'package:yaml/yaml.dart';
-import 'test_pub.dart';
-
class MockSource extends Source {
final String name = 'mock';
@@ -189,7 +187,7 @@ packages:
});
test("ignores extra stuff in file", () {
- var lockFile = new LockFile.parse('''
+ new LockFile.parse('''
extra:
some: stuff
packages:
« no previous file with comments | « test/io_test.dart ('k') | test/must_pub_get_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698