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

Unified Diff: tests/compiler/dart2js/source_map_validator_helper.dart

Issue 360283002: Remove deprecated sourceMapping syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update test. Created 6 years, 6 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 | « tests/compiler/dart2js/source_map_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/source_map_validator_helper.dart
diff --git a/tests/compiler/dart2js/source_map_validator_helper.dart b/tests/compiler/dart2js/source_map_validator_helper.dart
index 685ee58542b5fbd07f45324ac3752d5076dcc585..4487ec4a14d83bff7bed72bf39cd509e827e2149 100644
--- a/tests/compiler/dart2js/source_map_validator_helper.dart
+++ b/tests/compiler/dart2js/source_map_validator_helper.dart
@@ -176,7 +176,7 @@ Uri getMapUri(Uri targetUri) {
File targetFile = new File.fromUri(targetUri);
Expect.isTrue(targetFile.existsSync());
List<String> target = targetFile.readAsStringSync().split('\n');
- String mapReference = target[target.length - 3]; // #sourceMappingURL=<url>
+ String mapReference = target[target.length - 2]; // #sourceMappingURL=<url>
Expect.isTrue(mapReference.startsWith('//# sourceMappingURL='));
String mapName = mapReference.substring(mapReference.indexOf('=') + 1);
return targetUri.resolve(mapName);
« no previous file with comments | « tests/compiler/dart2js/source_map_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698