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

Side by Side Diff: packages/dart_style/test/splitting/exports.unit

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 >>> does not wrap long export string
3 export 'package:some/very/long/export/path.dart';
4 <<<
5 export 'package:some/very/long/export/path.dart';
6 >>> export keeps shows on one line
7 export 'foo.dart'show Ape,Bear,Cat;
8 <<<
9 export 'foo.dart' show Ape, Bear, Cat;
10 >>> export moves all shows to next line
11 export 'foo.dart'show Ape,Bear,Cat,Dog;
12 <<<
13 export 'foo.dart'
14 show Ape, Bear, Cat, Dog;
15 >>> export moves all shows each to their own line
16 export 'foo.dart'show Ape,Bear,Cat,Dog,Echidna,FlyingFox,Gorilla;
17 <<<
18 export 'foo.dart'
19 show
20 Ape,
21 Bear,
22 Cat,
23 Dog,
24 Echidna,
25 FlyingFox,
26 Gorilla;
27 >>> export keeps hides on one line
28 export 'foo.dart'hide Ape,Bear,Cat;
29 <<<
30 export 'foo.dart' hide Ape, Bear, Cat;
31 >>> export moves hides to next line
32 export 'foo.dart'hide Ape,Bear,Cat,Dog;
33 <<<
34 export 'foo.dart'
35 hide Ape, Bear, Cat, Dog;
36 >>> export moves hides each to their own line
37 export 'foo.dart'hide Ape,Bear,Cat,Dog,Echidna,FlyingFox,Gorilla;
38 <<<
39 export 'foo.dart'
40 hide
41 Ape,
42 Bear,
43 Cat,
44 Dog,
45 Echidna,
46 FlyingFox,
47 Gorilla;
48 >>> single line both
49 export 'foo.dart'hide Ape show Bear;
50 <<<
51 export 'foo.dart' hide Ape show Bear;
52 >>> multiline first
53 export 'foo.dart'hide Ape,Bear,Cat,Dog, Echidna, FlyingFox show Ape,Bear,Cat,Dog ;
54 <<<
55 export 'foo.dart'
56 hide
57 Ape,
58 Bear,
59 Cat,
60 Dog,
61 Echidna,
62 FlyingFox
63 show Ape, Bear, Cat, Dog;
64 >>> multiline second
65 export 'foo.dart'hide Ape,Bear,Cat,Dog show Ape,Bear,Cat,Dog, Echidna, FlyingFox ;
66 <<<
67 export 'foo.dart'
68 hide Ape, Bear, Cat, Dog
69 show
70 Ape,
71 Bear,
72 Cat,
73 Dog,
74 Echidna,
75 FlyingFox;
76 >>> multiline both
77 export 'foo.dart'hide Ape,Bear,Cat,Dog, Echidna, FlyingFox show Ape,Bear,Cat,Dog , Echidna, FlyingFox;
78 <<<
79 export 'foo.dart'
80 hide
81 Ape,
82 Bear,
83 Cat,
84 Dog,
85 Echidna,
86 FlyingFox
87 show
88 Ape,
89 Bear,
90 Cat,
91 Dog,
92 Echidna,
93 FlyingFox;
94 >>> double line both
95 export 'foo.dart'hide Ape,Bear,Cat,Dog show Ape,Bear,Cat,Dog;
96 <<<
97 export 'foo.dart'
98 hide Ape, Bear, Cat, Dog
99 show Ape, Bear, Cat, Dog;
100 >>> force both keywords to split even if first would fit on first line
101 export 'foo.dart' hide Ape, Bear show Ape, Bear, Cat, Dog;
102 <<<
103 export 'foo.dart'
104 hide Ape, Bear
105 show Ape, Bear, Cat, Dog;
106 >>> force split in list
107 export 'foo.dart' hide First, //
108 Second;
109 <<<
110 export 'foo.dart'
111 hide
112 First, //
113 Second;
OLDNEW
« no previous file with comments | « packages/dart_style/test/splitting/enums.unit ('k') | packages/dart_style/test/splitting/expressions.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698