]> granicus.if.org Git - php/commitdiff
Update broker_request_dict_01.phpt
authormarcosptf <marcosptf@yahoo.com.br>
Sun, 9 Aug 2015 10:44:04 +0000 (07:44 -0300)
committermarcosptf <marcosptf@yahoo.com.br>
Sun, 9 Aug 2015 10:44:04 +0000 (07:44 -0300)
ext/enchant/tests/broker_request_dict_01.phpt

index 85c492eb2c90f786c2eb1d9ce78aacd3a84271cc..ebbd9ca23bef03b69b16b6b85dad2fd5e3e951f4 100644 (file)
@@ -5,6 +5,8 @@ marcosptf - <marcosptf@yahoo.com.br>
 --SKIPIF--
 <?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