summaryrefslogtreecommitdiff
path: root/ext/enchant
diff options
context:
space:
mode:
authormarcosptf <marcosptf@yahoo.com.br>2015-08-09 08:14:56 -0300
committermarcosptf <marcosptf@yahoo.com.br>2015-08-09 08:14:56 -0300
commit32fb77952f2579db92719fa0d3da47703c78e048 (patch)
tree6031dac5706c9d82dc7fc958305d6a412a995e94 /ext/enchant
parentd3cd2f82212464a0a603630a4919dfe3e3d2de4c (diff)
downloadphp-git-32fb77952f2579db92719fa0d3da47703c78e048.tar.gz
Update broker_dict_exists.phpt
Diffstat (limited to 'ext/enchant')
-rw-r--r--ext/enchant/tests/broker_dict_exists.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/enchant/tests/broker_dict_exists.phpt b/ext/enchant/tests/broker_dict_exists.phpt
index 5fe22dc3dd..4ea4fd610e 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