Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Unified Diff: tests/language/multiline_strings_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language/multiline_strings_test.dart
diff --git a/tests/language/multiline_strings_test.dart b/tests/language/multiline_strings_test.dart
index 8795014d32ef458ff48c5f7ba5e19ab1b1c57e68..fa96fb1bc3cf9c9b9f9cb937426b9f1f0314580d 100644
--- a/tests/language/multiline_strings_test.dart
+++ b/tests/language/multiline_strings_test.dart
@@ -7,40 +7,64 @@
import "package:expect/expect.dart";
main() {
- Expect.equals('foo', '''
+ Expect.equals(
+ 'foo',
+ '''
foo''');
- Expect.equals('\\\nfoo', '''\\
+ Expect.equals(
+ '\\\nfoo',
+ '''\\
foo''');
- Expect.equals('\t\nfoo', '''\t
+ Expect.equals(
+ '\t\nfoo',
+ '''\t
foo''');
- Expect.equals('foo', '''\
+ Expect.equals(
+ 'foo',
+ '''\
foo''');
- Expect.equals('foo', '''\ \
+ Expect.equals(
+ 'foo',
+ '''\ \
foo''');
- Expect.equals(' \nfoo', '''\x20
+ Expect.equals(
+ ' \nfoo',
+ '''\x20
foo''');
String x = ' ';
- Expect.equals(' \nfoo', '''$x
+ Expect.equals(
+ ' \nfoo',
+ '''$x
foo''');
- Expect.equals('foo', r'''
+ Expect.equals(
+ 'foo',
+ r'''
foo''');
- Expect.equals('\\\\\nfoo', r'''\\
+ Expect.equals(
+ '\\\\\nfoo',
+ r'''\\
foo''');
- Expect.equals('\\t\nfoo', r'''\t
+ Expect.equals(
+ '\\t\nfoo',
+ r'''\t
foo''');
- Expect.equals('foo', r'''\
+ Expect.equals(
+ 'foo',
+ r'''\
foo''');
- Expect.equals('foo', r'''\ \
+ Expect.equals(
+ 'foo',
+ r'''\ \
foo''');
}

Powered by Google App Engine
This is Rietveld 408576698