| >>> (indent 2) |
| nestedSelect(currency, amount) => Intl.select(currency, |
| { |
| "CDN" : """${Intl.plural(amount, one: '$amount Canadian dollar', |
| other: '$amount Canadian dollars')}""", |
| "other" : "Whatever", |
| }, |
| name: "nestedSelect", |
| args: [currency, amount]); |
| <<< |
| nestedSelect(currency, amount) => Intl.select( |
| currency, |
| { |
| "CDN": |
| """${Intl.plural(amount, one: '$amount Canadian dollar', other: '$amount Canadian dollars')}""", |
| "other": "Whatever", |
| }, |
| name: "nestedSelect", |
| args: [currency, amount]); |
| >>> (indent 2) |
| expect( |
| Bidi.estimateDirectionOfText('CAPTCHA \u05de\u05e9\u05d5\u05db\u05dc\u05dc ' |
| '\u05de\u05d3\u05d9?').value, |
| equals(TextDirection.RTL.value)); |
| <<< |
| expect( |
| Bidi.estimateDirectionOfText( |
| 'CAPTCHA \u05de\u05e9\u05d5\u05db\u05dc\u05dc ' |
| '\u05de\u05d3\u05d9?') |
| .value, |
| equals(TextDirection.RTL.value)); |