X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2FHashTagDetectionTests.php;h=283226bd46943b8c5856210b3d96517ceff4f62c;hb=6c3149334cf69a33026a75be9f5ea579b2de3b8d;hp=4f0b31b0df054749c21e393300a989e924ce76bf;hpb=3400f6f431436552d3bef81a4b25733db2cdd9b6;p=quix0rs-gnu-social.git
diff --git a/tests/HashTagDetectionTests.php b/tests/HashTagDetectionTests.php
index 4f0b31b0df..283226bd46 100644
--- a/tests/HashTagDetectionTests.php
+++ b/tests/HashTagDetectionTests.php
@@ -27,8 +27,20 @@ class HashTagDetectionTests extends PHPUnit_Framework_TestCase
return array(
array('hello',
'hello'),
- 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'),
);
}
}