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

Side by Side Diff: test/regression/189.stmt

Issue 1183633004: Harden named arguments if a hard split occurs in the positional ones. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update changelog. Created 5 years, 6 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
« no previous file with comments | « test/comments/expressions.stmt ('k') | test/splitting/function_arguments.stmt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 >>> (indent 2)
2 nestedSelect(currency, amount) => Intl.select(currency,
3 {
4 "CDN" : """${Intl.plural(amount, one: '$amount Canadian dollar',
5 other: '$amount Canadian dollars')}""",
6 "other" : "Whatever",
7 },
8 name: "nestedSelect",
9 args: [currency, amount]);
10 <<<
11 nestedSelect(currency, amount) => Intl.select(
12 currency,
13 {
14 "CDN": """${Intl.plural(amount, one: '$amount Canadian dollar',
15 other: '$amount Canadian dollars')}""",
16 "other": "Whatever",
17 },
18 name: "nestedSelect",
19 args: [currency, amount]);
20 >>> (indent 2)
21 expect(
22 Bidi.estimateDirectionOfText('CAPTCHA \u05de\u05e9\u05d5\u05db\u05dc\u05dc '
23 '\u05de\u05d3\u05d9?').value,
24 equals(TextDirection.RTL.value));
25 <<<
26 expect(
27 Bidi
28 .estimateDirectionOfText(
29 'CAPTCHA \u05de\u05e9\u05d5\u05db\u05dc\u05dc '
30 '\u05de\u05d3\u05d9?')
31 .value,
32 equals(TextDirection.RTL.value));
OLDNEW
« no previous file with comments | « test/comments/expressions.stmt ('k') | test/splitting/function_arguments.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698