| Index: tests/compiler/dart2js/source_mapping_test.dart
|
| diff --git a/tests/compiler/dart2js/source_mapping_test.dart b/tests/compiler/dart2js/source_mapping_test.dart
|
| index db0855154683a98f10be25f396f7779c961fe59e..bc7928f074cf5b85762b3f707d85860bef30f2bf 100644
|
| --- a/tests/compiler/dart2js/source_mapping_test.dart
|
| +++ b/tests/compiler/dart2js/source_mapping_test.dart
|
| @@ -39,7 +39,8 @@ void testSourceMapLocations(String codeWithMarkers) {
|
| SourceFile sourceFile = new StringSourceFile.fromName('<test script>', code);
|
| asyncTest(() => compileAll(sourceFile).then((CodeOutput output) {
|
| Set<int> locations = new Set<int>();
|
| - output
|
| + SourceLocations sourceLocations = output.sourceLocations.single;
|
| + sourceLocations
|
| .forEachSourceLocation((int offset, SourceLocation sourcePosition) {
|
| if (sourcePosition != null &&
|
| sourcePosition.sourceUri == sourceFile.uri) {
|
|
|