assertEquals($expected, $rendered);
}
static public function provider()
{
return array(
array('hello',
'hello'),
array('#hello people',
'#hello people'),
array('"#hello" people',
'"#hello" people'),
array('say "#hello" people',
'say "#hello" people'),
array('say (#hello) people',
'say (#hello) people'),
array('say [#hello] people',
'say [#hello] people'),
array('say {#hello} people',
'say {#hello} people'),
array('say \'#hello\' people',
'say \'#hello\' people'),
// Unicode legit letters
array('#éclair yummy',
'#éclair yummy'),
array('#维基百科 zh.wikipedia!',
'#维基百科 zh.wikipedia!'),
array('#Россия russia',
'#Россия russia'),
// Unicode punctuators -- the ideographic "," separates the tag, just as "," does
array('#维基百科,zh.wikipedia!',
'#维基百科,zh.wikipedia!'),
array('#维基百科,zh.wikipedia!',
'#维基百科,zh.wikipedia!'),
);
}
}