| Index: tests/compiler/dart2js/sourcemaps/source_mapping_invokes_test.dart
|
| diff --git a/tests/compiler/dart2js/sourcemaps/source_mapping_invokes_test.dart b/tests/compiler/dart2js/sourcemaps/source_mapping_invokes_test.dart
|
| index 20359e4017ce6ebe809ac04e0bb4da488dd6b8a4..ce4d3620020a05c611150f14bb74046f48647158 100644
|
| --- a/tests/compiler/dart2js/sourcemaps/source_mapping_invokes_test.dart
|
| +++ b/tests/compiler/dart2js/sourcemaps/source_mapping_invokes_test.dart
|
| @@ -2,8 +2,18 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -import 'source_mapping_tester.dart' as tester;
|
| +import 'source_mapping_tester.dart';
|
| +import 'sourcemap_helper.dart';
|
| +import 'package:compiler/src/io/position_information.dart';
|
|
|
| void main() {
|
| - tester.main(['invokes']);
|
| + test(['invokes'], whiteListFunction: (String config, String file) {
|
| + if (config == 'cps') {
|
| + return (CodePoint codePoint) {
|
| + // Temporarily allow missing code points on expression statements.
|
| + return codePoint.kind == StepKind.EXPRESSION_STATEMENT;
|
| + };
|
| + }
|
| + return emptyWhiteList;
|
| + });
|
| }
|
|
|