use raw strings to avoid escaping (#50322)

This commit is contained in:
Alexandre Ardhuin
2020-02-07 16:35:55 +01:00
committed by GitHub
parent 8735ab1e35
commit b953c3e5a8
28 changed files with 171 additions and 157 deletions

View File

@@ -559,7 +559,7 @@ void main() {
),
]);
expect(animation.toDart('_AnimatedIconData', '_\$data1'),
expect(animation.toDart('_AnimatedIconData', r'_$data1'),
'const _AnimatedIconData _\$data1 = const _AnimatedIconData(\n'
' const Size(48.0, 48.0),\n'
' const <_PathFrames>[\n'