Skip to content

Commit a8bbb91

Browse files
committed
skip test on 5.4.0
git-svn-id: http://svn.php.net/repository/pear/packages/Text_LanguageDetect/trunk@322331 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent d3f10cf commit a8bbb91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Text_LanguageDetectTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ function test_checkTrigramNoArray()
8686
*/
8787
function test_checkTrigramNoArrayMagicQuotes()
8888
{
89+
if (version_compare(PHP_VERSION, '5.4.0') >= 0) {
90+
$this->markTestSkipped('5.4.0 has no magic quotes anymore');
91+
}
8992
ini_set('magic_quotes_runtime', 1);
9093
$this->x->_checkTrigram('foo');
9194
}

0 commit comments

Comments
 (0)