com php-src: Update broker_dict_exists.phpt: ext/ench ant/tests/broker_dict_exists.phpt
| From: | Xinchen Hui | Date: | Sun, 09 Aug 2015 11:14:56 +0000 |
| Subject: | com php-src: Update broker_dict_exists.phpt: ext/ench ant/tests/broker_dict_exists.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88408@lists.php.net to get a copy of this message | ||
Commit: 32fb77952f2579db92719fa0d3da47703c78e048
Author: marcosptf <marcosptf@yahoo.com.br> Sun, 9 Aug 2015 08:14:56 -0300
Parents: d3cd2f82212464a0a603630a4919dfe3e3d2de4c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=32fb77952f2579db92719fa0d3da47703c78e048
Log:
Update broker_dict_exists.phpt
Changed paths:
M ext/enchant/tests/broker_dict_exists.phpt
Diff:
diff --git a/ext/enchant/tests/broker_dict_exists.phpt b/ext/enchant/tests/broker_dict_exists.phpt
index 5fe22dc..4ea4fd6 100644
--- a/ext/enchant/tests/broker_dict_exists.phpt
+++ b/ext/enchant/tests/broker_dict_exists.phpt
@@ -6,6 +6,7 @@ marcosptf - <marcosptf@yahoo.com.br>
<?php
if(!extension_loaded('enchant')) die('skip, enchant not loader');
if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
+if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, dont has
dictionary install in this machine! \n");}
?>
--FILE--
<?php