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

Unified Diff: pkg/source_maps/test/parser_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/test/end2end_test.dart ('k') | pkg/source_maps/test/printer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/source_maps/test/parser_test.dart
diff --git a/pkg/source_maps/test/parser_test.dart b/pkg/source_maps/test/parser_test.dart
index 62cd08f1f3700df8bef12c1d28d0043e0ed4d81c..8528683f3762de90e118b704a9a51adcf0f7a60f 100644
--- a/pkg/source_maps/test/parser_test.dart
+++ b/pkg/source_maps/test/parser_test.dart
@@ -104,7 +104,7 @@ main() {
var inputMap = new Map.from(MAP_WITH_SOURCE_LOCATION);
inputMap['sourceRoot'] = '/pkg/';
var mapping = parseJson(inputMap);
- expect(mapping.spanFor(0, 0).sourceUrl, "/pkg/input.dart");
+ expect(mapping.spanFor(0, 0).sourceUrl, Uri.parse("/pkg/input.dart"));
var newSourceRoot = '/new/';
« no previous file with comments | « pkg/source_maps/test/end2end_test.dart ('k') | pkg/source_maps/test/printer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698