OLD | NEW |
(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)); |
OLD | NEW |