]> granicus.if.org Git - php/commitdiff
fix tests
authorStanislav Malyshev <stas@php.net>
Sun, 25 Mar 2012 20:49:19 +0000 (13:49 -0700)
committerStanislav Malyshev <stas@php.net>
Sun, 25 Mar 2012 20:49:19 +0000 (13:49 -0700)
ext/intl/tests/spoofchecker_001.phpt
ext/intl/tests/spoofchecker_002.phpt
ext/intl/tests/spoofchecker_003.phpt
ext/intl/tests/spoofchecker_004.phpt
ext/phar/tests/phpinfo_003.phpt

index 0b71de61b8c1560fff93a28f1f680f21784ec6e6..7904b3a4c0aaa497b550d11d056ef411974cdf1a 100755 (executable)
@@ -1,7 +1,7 @@
 --TEST--
 spoofchecker suspicious character checker
 --SKIPIF--
-<?php if(!extension_loaded('intl')) print 'skip'; ?>
+<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
 --FILE--
 <?php
 
@@ -20,4 +20,4 @@ paypal with Cyrillic spoof characters
 bool(true)
 certain all-uppercase Latin sequences can be spoof of Greek
 bool(true)
-bool(false)
\ No newline at end of file
+bool(false)
index 2cc46a7874cbe745b36839ec53be7fbe906ac378..d57091735020fab2754198e1637fd40b6c149bd5 100755 (executable)
@@ -1,7 +1,7 @@
 --TEST--
 spoofchecker confusable tests
 --SKIPIF--
-<?php if(!extension_loaded('intl')) print 'skip'; ?>
+<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
 --FILE--
 <?php
 
@@ -17,4 +17,4 @@ var_dump($x->areConfusable("hello, world", "he11o, wor1d"));
 Checking if words are confusable
 bool(false)
 bool(true)
-bool(true)
\ No newline at end of file
+bool(true)
index 11a4f3f303a94e6cdb88f131001af7642508d992..0be9bfa409387e6c61a13b96c9095bceeb9856d4 100755 (executable)
@@ -1,7 +1,7 @@
 --TEST--
 spoofchecker with locale settings
 --SKIPIF--
-<?php if(!extension_loaded('intl')) print 'skip'; ?>
+<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
 --FILE--
 <?php
 
@@ -22,4 +22,4 @@ var_dump($x->isSuspicious($korean));
 Is suspcious, en_US
 bool(true)
 Is suspcious, ko_KR
-bool(false)
\ No newline at end of file
+bool(false)
index dc57223ab45dacfd64df9b4eafedd97c5ac7f004..b38c61d717b1c14eaab8b1635b124cdcc1d06b4e 100755 (executable)
@@ -1,7 +1,7 @@
 --TEST--
 spoofchecker with settings changed
 --SKIPIF--
-<?php if(!extension_loaded('intl')) print 'skip'; ?>
+<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
 --FILE--
 <?php
 
@@ -25,4 +25,4 @@ bool(true)
 bool(true)
 Change confusable settings
 bool(false)
-bool(true)
\ No newline at end of file
+bool(true)
index 031d3cf49706d0e08b1a20ae203014cb31155c7b..045f1a090d3a1fc346a0a85a6790d5d7f2e7607e 100644 (file)
@@ -24,7 +24,7 @@ Phar
 Phar: PHP Archive support => enabled
 Phar EXT version => %s
 Phar API version => 1.1.1
-SVN revision => %cRevision: %s $
+SVN revision => %cId: %s $
 Phar-based phar archives => enabled
 Tar-based phar archives => enabled
 ZIP-based phar archives => enabled