]> granicus.if.org Git - php/commitdiff
Update broker_dict_exists.phpt
authormarcosptf <marcosptf@yahoo.com.br>
Sun, 9 Aug 2015 11:14:56 +0000 (08:14 -0300)
committermarcosptf <marcosptf@yahoo.com.br>
Sun, 9 Aug 2015 11:14:56 +0000 (08:14 -0300)
ext/enchant/tests/broker_dict_exists.phpt

index 5fe22dc3dda1ae011c74a50623fc5dd37f482e12..4ea4fd610e0b47855dbf7a423860ef2eb5e2f772 100644 (file)
@@ -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