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

Unified Diff: pkg/source_maps/test/builder_test.dart

Issue 421723004: Remove support for the old Span classes from source_maps. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 5 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 | « pkg/source_maps/lib/src/span_wrapper.dart ('k') | pkg/source_maps/test/common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/source_maps/test/builder_test.dart
diff --git a/pkg/source_maps/test/builder_test.dart b/pkg/source_maps/test/builder_test.dart
index 8842c62cbb0e5838e02ca3685695c62e4edbfc85..ca0ca8d2d88469d4b580cc9158649306e2736590 100644
--- a/pkg/source_maps/test/builder_test.dart
+++ b/pkg/source_maps/test/builder_test.dart
@@ -16,7 +16,7 @@ main() {
..addSpan(inputFunction, outputFunction)
..addSpan(inputVar2, outputVar2)
..addSpan(inputExpr, outputExpr))
- .build(output.url);
+ .build(output.url.toString());
expect(map, equals(EXPECTED_MAP));
});
@@ -26,7 +26,7 @@ main() {
..addLocation(inputFunction.start, outputFunction.start, 'longName')
..addLocation(inputVar2.start, outputVar2.start, 'longVar2')
..addLocation(inputExpr.start, outputExpr.start, null))
- .toJson(output.url);
+ .toJson(output.url.toString());
expect(str, JSON.encode(EXPECTED_MAP));
});
}
« no previous file with comments | « pkg/source_maps/lib/src/span_wrapper.dart ('k') | pkg/source_maps/test/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698