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

Side by Side Diff: packages/dart_style/test/splitting/strings.stmt

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 40 columns |
2 >>> long single-line
3 "this string is longer than forty characters";
4 <<<
5 "this string is longer than forty characters";
6 >>> short one line multi-line
7 """not too long""";
8 <<<
9 """not too long""";
10 >>> multi-line with short lines
11 """
12 not too long
13 or this one
14 """;
15 <<<
16 """
17 not too long
18 or this one
19 """;
20 >>> multi-line with long lines
21 """
22 this string is longer than forty characters
23 this one is also is longer than forty characters
24 """;
25 <<<
26 """
27 this string is longer than forty characters
28 this one is also is longer than forty characters
29 """;
30 >>> only indent the first line of multiline strings
31 {
32 """
33 multiline
34 """;
35 }
36 <<<
37 {
38 """
39 multiline
40 """;
41 }
42 >>> do not wrap the first line if not needed
43 someMethod("""first line fits in here
44 more stuff down here too that is long
45 """);
46 <<<
47 someMethod("""first line fits in here
48 more stuff down here too that is long
49 """);
50 >>> wrap first line if needed
51 someMethod("""first line does not fits here
52 """);
53 <<<
54 someMethod(
55 """first line does not fits here
56 """);
OLDNEW
« no previous file with comments | « packages/dart_style/test/splitting/statements.stmt ('k') | packages/dart_style/test/splitting/type_arguments.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698