Chromium Code Reviews| 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 3897be8f3be30deea5069461a65b6d051ee5aa0f..7a98ae381f7b4c0536347eed415292089f72c003 100644 |
| --- a/tests/compiler/dart2js/source_mapping_test.dart |
| +++ b/tests/compiler/dart2js/source_mapping_test.dart |
| @@ -89,6 +89,7 @@ int test(int x) { |
| int result = 1; @while (result < x) { result <<= 1; @} return result; |
| }'''; |
| +String INTERCEPTOR_TEST = '''void main() { var l = []; @l.add(0); print(l); }'''; |
|
ahe
2012/09/24 12:56:21
Long line.
podivilov1
2012/09/24 15:04:49
Done.
|
| main() { |
| // These tests are fragile, since mappings for specific source locations |
| @@ -104,4 +105,5 @@ main() { |
| testSourceMapLocations(SEND_TEST); |
| testSourceMapLocations(SEND_SET_TEST); |
| testSourceMapLocations(LOOP_TEST); |
| + testSourceMapLocations(INTERCEPTOR_TEST); |
| } |