blob: 38ff589bbb319309e862ab81681ee918cd19d1b9 [file] [log] [blame]
>>> (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));