| Index: pkg/analyzer/test/generated/ast_test.dart
|
| diff --git a/pkg/analyzer/test/generated/ast_test.dart b/pkg/analyzer/test/generated/ast_test.dart
|
| index a348e56d46448d7a795c43b1c0431d91d250001e..535c75b68eef4e64a30ae948d8329ceee330e474 100644
|
| --- a/pkg/analyzer/test/generated/ast_test.dart
|
| +++ b/pkg/analyzer/test/generated/ast_test.dart
|
| @@ -1266,19 +1266,26 @@ class SimpleStringLiteralTest extends ParserTestCase {
|
| expect(new SimpleStringLiteral(
|
| TokenFactory.tokenFromString("'X'"), "X").contentsEnd, 2);
|
| expect(new SimpleStringLiteral(
|
| - TokenFactory.tokenFromString("\"X\""), "X").contentsEnd, 2);
|
| + TokenFactory.tokenFromString('"X"'), "X").contentsEnd, 2);
|
| +
|
| expect(new SimpleStringLiteral(
|
| - TokenFactory.tokenFromString("\"\"\"X\"\"\""), "X").contentsEnd, 4);
|
| + TokenFactory.tokenFromString('"""X"""'), "X").contentsEnd, 4);
|
| expect(new SimpleStringLiteral(
|
| TokenFactory.tokenFromString("'''X'''"), "X").contentsEnd, 4);
|
| expect(new SimpleStringLiteral(
|
| + TokenFactory.tokenFromString("''' \nX'''"), "X").contentsEnd, 7);
|
| +
|
| + expect(new SimpleStringLiteral(
|
| TokenFactory.tokenFromString("r'X'"), "X").contentsEnd, 3);
|
| expect(new SimpleStringLiteral(
|
| - TokenFactory.tokenFromString("r\"X\""), "X").contentsEnd, 3);
|
| + TokenFactory.tokenFromString('r"X"'), "X").contentsEnd, 3);
|
| +
|
| expect(new SimpleStringLiteral(
|
| - TokenFactory.tokenFromString("r\"\"\"X\"\"\""), "X").contentsEnd, 5);
|
| + TokenFactory.tokenFromString('r"""X"""'), "X").contentsEnd, 5);
|
| expect(new SimpleStringLiteral(
|
| TokenFactory.tokenFromString("r'''X'''"), "X").contentsEnd, 5);
|
| + expect(new SimpleStringLiteral(
|
| + TokenFactory.tokenFromString("r''' \nX'''"), "X").contentsEnd, 8);
|
| }
|
|
|
| void test_contentsOffset() {
|
|
|