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

Side by Side Diff: pkg/analyzer/test/services/data/stmt_tests.data

Issue 156033002: Fix to ensure no breaks after new and general zero-length space support (dartbug.com/16379). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/services/writer.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> 1 >>>
2 if (x && 2 if (x &&
3 y) { 3 y) {
4 print('!'); 4 print('!');
5 } 5 }
6 <<< 6 <<<
7 if (x && y) { 7 if (x && y) {
8 print('!'); 8 print('!');
9 } 9 }
10 >>> 10 >>>
(...skipping 26 matching lines...) Expand all
37 var primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61 , 67, 71]; 37 var primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61 , 67, 71];
38 <<< 38 <<<
39 var primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 39 var primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59,
40 61, 67, 71]; 40 61, 67, 71];
41 >>> 41 >>>
42 blah() { 42 blah() {
43 print('blah blah blah blah blah blah blah blah blah blah blah blah blah blah $ foo'); 43 print('blah blah blah blah blah blah blah blah blah blah blah blah blah blah $ foo');
44 } 44 }
45 <<<< 45 <<<<
46 blah() { 46 blah() {
47 print('blah blah blah blah blah blah blah blah blah blah blah blah blah blah $ foo'); 47 print(
48 'blah blah blah blah blah blah blah blah blah blah blah blah blah blah $fo o');
48 } 49 }
49 >>> 50 >>>
50 assert(false); 51 assert(false);
51 <<< 52 <<<
52 assert(false); 53 assert(false);
53 >>> dartbug.com/16384 54 >>> dartbug.com/16384
54 fish() => []..add(1)..add(2); 55 fish() => []..add(1)..add(2);
55 <<< 56 <<<
56 fish() => [] 57 fish() => []
57 ..add(1) 58 ..add(1)
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 100 }
100 } 101 }
101 >>> dartbug.com/16383 102 >>> dartbug.com/16383
102 main() { 103 main() {
103 //foo 104 //foo
104 } 105 }
105 <<< 106 <<<
106 main() { 107 main() {
107 //foo 108 //foo
108 } 109 }
110 >>> dartbug.com/16379
111 var x = new XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X();
112 <<<
113 var x =
114 new XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX();
115 >>>
116 main() {
117 throw new FormatException("This is a long exception message that puts this ove r 80 columns.");
118 }
119 <<<
120 main() {
121 throw new FormatException(
122 "This is a long exception message that puts this over 80 columns.");
123 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/services/writer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698