Skip to content

Commit d51c1e0

Browse files
committed
fix tests
1 parent 2bd5fa0 commit d51c1e0

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

ext/intl/tests/spoofchecker_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
spoofchecker suspicious character checker
33
--SKIPIF--
4-
<?php if(!extension_loaded('intl')) print 'skip'; ?>
4+
<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
55
--FILE--
66
<?php
77

@@ -20,4 +20,4 @@ paypal with Cyrillic spoof characters
2020
bool(true)
2121
certain all-uppercase Latin sequences can be spoof of Greek
2222
bool(true)
23-
bool(false)
23+
bool(false)

ext/intl/tests/spoofchecker_002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
spoofchecker confusable tests
33
--SKIPIF--
4-
<?php if(!extension_loaded('intl')) print 'skip'; ?>
4+
<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
55
--FILE--
66
<?php
77

@@ -17,4 +17,4 @@ var_dump($x->areConfusable("hello, world", "he11o, wor1d"));
1717
Checking if words are confusable
1818
bool(false)
1919
bool(true)
20-
bool(true)
20+
bool(true)

ext/intl/tests/spoofchecker_003.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
spoofchecker with locale settings
33
--SKIPIF--
4-
<?php if(!extension_loaded('intl')) print 'skip'; ?>
4+
<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
55
--FILE--
66
<?php
77

@@ -22,4 +22,4 @@ var_dump($x->isSuspicious($korean));
2222
Is suspcious, en_US
2323
bool(true)
2424
Is suspcious, ko_KR
25-
bool(false)
25+
bool(false)

ext/intl/tests/spoofchecker_004.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
spoofchecker with settings changed
33
--SKIPIF--
4-
<?php if(!extension_loaded('intl')) print 'skip'; ?>
4+
<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
55
--FILE--
66
<?php
77

@@ -25,4 +25,4 @@ bool(true)
2525
bool(true)
2626
Change confusable settings
2727
bool(false)
28-
bool(true)
28+
bool(true)

ext/phar/tests/phpinfo_003.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Phar
2424
Phar: PHP Archive support => enabled
2525
Phar EXT version => %s
2626
Phar API version => 1.1.1
27-
SVN revision => %cRevision: %s $
27+
SVN revision => %cId: %s $
2828
Phar-based phar archives => enabled
2929
Tar-based phar archives => enabled
3030
ZIP-based phar archives => enabled

0 commit comments

Comments
 (0)