From: Brenda Wallace Date: Tue, 25 Aug 2009 22:02:07 +0000 (+1200) Subject: Merge commit 'mainline-write/0.8.x' into 0.8.x X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6c3149334cf69a33026a75be9f5ea579b2de3b8d;p=quix0rs-gnu-social.git Merge commit 'mainline-write/0.8.x' into 0.8.x --- 6c3149334cf69a33026a75be9f5ea579b2de3b8d diff --cc tests/HashTagDetectionTests.php index 4f0b31b0df,0000000000..283226bd46 mode 100644,000000..100644 --- a/tests/HashTagDetectionTests.php +++ b/tests/HashTagDetectionTests.php @@@ -1,35 -1,0 +1,47 @@@ +assertEquals($expected, $rendered); + } + + static public function provider() + { + return array( + array('hello', + 'hello'), - array('#hello', - '#'), ++ array('#hello people', ++ '# people'), ++ array('"#hello" people', ++ '"#" people'), ++ array('say "#hello" people', ++ 'say "#" people'), ++ array('say (#hello) people', ++ 'say (#) people'), ++ array('say [#hello] people', ++ 'say [#] people'), ++ array('say {#hello} people', ++ 'say {#} people'), ++ array('say \'#hello\' people', ++ 'say \'#\' people'), + ); + } +} +