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

Unified Diff: pkg/analyzer/test/file_system/memory_file_system_test.dart

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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: pkg/analyzer/test/file_system/memory_file_system_test.dart
diff --git a/pkg/analyzer/test/file_system/memory_file_system_test.dart b/pkg/analyzer/test/file_system/memory_file_system_test.dart
index 458c2c45ad54aad182b26153bdeccc8d7b286293..ecd647e1b1185236573c7613072c0e9d9916f263 100644
--- a/pkg/analyzer/test/file_system/memory_file_system_test.dart
+++ b/pkg/analyzer/test/file_system/memory_file_system_test.dart
@@ -6,13 +6,13 @@ library test.memory_file_system;
import 'dart:async';
+import 'package:analyzer/file_system/file_system.dart';
+import 'package:analyzer/file_system/memory_file_system.dart';
import 'package:analyzer/src/generated/engine.dart' show TimestampedData;
import 'package:analyzer/src/generated/source.dart';
import 'package:path/path.dart';
import 'package:unittest/unittest.dart';
import 'package:watcher/watcher.dart';
-import 'package:analyzer/file_system/memory_file_system.dart';
-import 'package:analyzer/file_system/file_system.dart';
var _isFile = new isInstanceOf<File>();
@@ -34,7 +34,8 @@ main() {
var exception = new MemoryResourceException('/my/path', 'my message');
expect(exception.path, '/my/path');
expect(exception.message, 'my message');
- expect(exception.toString(),
+ expect(
+ exception.toString(),
'MemoryResourceException(path=/my/path; message=my message)');
});
@@ -469,7 +470,8 @@ main() {
});
test('resolveRelative', () {
- Uri relative = source.resolveRelativeUri(new Uri.file('bar/baz.dart'));
+ Uri relative =
+ source.resolveRelativeUri(new Uri.file('bar/baz.dart'));
expect(relative.path, '/foo/bar/baz.dart');
});
});
@@ -503,7 +505,8 @@ main() {
});
test('resolveRelative', () {
- Uri relative = source.resolveRelativeUri(new Uri.file('bar/baz.dart'));
+ Uri relative =
+ source.resolveRelativeUri(new Uri.file('bar/baz.dart'));
expect(relative.path, '/foo/bar/baz.dart');
});
});
« no previous file with comments | « pkg/analyzer/test/error_test.dart ('k') | pkg/analyzer/test/file_system/physical_resource_provider_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698