| Index: tests/compiler/dart2js/scanner_offset_length_test.dart
|
| diff --git a/tests/compiler/dart2js/scanner_offset_length_test.dart b/tests/compiler/dart2js/scanner_offset_length_test.dart
|
| index 3eb5bb54baa44bab8a362771ecc75f19a22e8dac..5239f1c738048b0b1f771f916bfedfc3569f5504 100644
|
| --- a/tests/compiler/dart2js/scanner_offset_length_test.dart
|
| +++ b/tests/compiler/dart2js/scanner_offset_length_test.dart
|
| @@ -21,14 +21,16 @@ check(String text) {
|
| Expect.isTrue(start < text.length,
|
| 'start=$start < text.length=${text.length}: $text');
|
|
|
| - Expect.isTrue(end <= text.length,
|
| - 'end=$end <= text.length=${text.length}: $text');
|
| + Expect.isTrue(
|
| + end <= text.length, 'end=$end <= text.length=${text.length}: $text');
|
|
|
| Expect.isTrue(start <= end, 'start=$end <= end=$end: $text');
|
|
|
| var substring = text.substring(start, end);
|
|
|
| - Expect.stringEquals(token.value, substring,
|
| + Expect.stringEquals(
|
| + token.value,
|
| + substring,
|
| 'token.value=${token.value} == '
|
| 'text.substring(start,end)=${substring}: $text');
|
|
|
| @@ -39,12 +41,12 @@ check(String text) {
|
| }
|
|
|
| main() {
|
| - check('foo'); // identifier
|
| - check('\'\''); // empty string
|
| - check('\'foo\''); // simple string
|
| - check('\'\$foo\''); // interpolation, identifier
|
| - check('\'\${foo}\''); // interpolation, expression
|
| -
|
| - check('//'); // single line comment
|
| - check('/**/'); // multi line comment
|
| + check('foo'); // identifier
|
| + check('\'\''); // empty string
|
| + check('\'foo\''); // simple string
|
| + check('\'\$foo\''); // interpolation, identifier
|
| + check('\'\${foo}\''); // interpolation, expression
|
| +
|
| + check('//'); // single line comment
|
| + check('/**/'); // multi line comment
|
| }
|
|
|