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

Unified Diff: test/common.dart

Issue 12937009: renaming File to Source (Closed) Base URL: git@github.com:dart-lang/source-maps.git@master
Patch Set: Created 7 years, 9 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/common.dart
diff --git a/test/common.dart b/test/common.dart
index 708b96ec09a99e63e268d222f3992fdb46aadb61..661979b8573287025ce30f1347f6f1c3f2bdc936 100644
--- a/test/common.dart
+++ b/test/common.dart
@@ -18,7 +18,7 @@ int longName(int longVar2) {
return longVar1 + longVar2;
}
''';
-var input = new File.text('input.dart', INPUT);
+var input = new SourceFile.text('input.dart', INPUT);
/// A span in the input file
Span ispan(int start, int end, [bool isIdentifier = false]) =>
@@ -34,7 +34,7 @@ const String OUTPUT = '''
var x = 3;
f(y) => x + y;
''';
-var output = new File.text('output.dart', OUTPUT);
+var output = new SourceFile.text('output.dart', OUTPUT);
/// A span in the output file
Span ospan(int start, int end, [bool isIdentifier = false]) =>
« lib/source_maps.dart ('K') | « pubspec.yaml ('k') | test/end2end_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698