com php-src: Update dict_quick_check.phpt: ext/enchan t/tests/dict_quick_check.phpt
| From: | Xinchen Hui | Date: | Sun, 09 Aug 2015 11:06:48 +0000 |
| Subject: | com php-src: Update dict_quick_check.phpt: ext/enchan t/tests/dict_quick_check.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88414@lists.php.net to get a copy of this message | ||
Commit: 63990ab18abaf18c819663e7aec1579a4bd60880
Author: marcosptf <marcosptf@yahoo.com.br> Sun, 9 Aug 2015 08:06:48 -0300
Parents: ec24053797ee77bc59aea652d9c8722de342c8c3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=63990ab18abaf18c819663e7aec1579a4bd60880
Log:
Update dict_quick_check.phpt
Changed paths:
M ext/enchant/tests/dict_quick_check.phpt
Diff:
diff --git a/ext/enchant/tests/dict_quick_check.phpt b/ext/enchant/tests/dict_quick_check.phpt
index 3412de1..15eb2ae 100644
--- a/ext/enchant/tests/dict_quick_check.phpt
+++ b/ext/enchant/tests/dict_quick_check.phpt
@@ -1,8 +1,12 @@
--TEST--
enchant_dict_quick_check() basic test
+--CREDITS--
+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");}
$tag = 'en_US';
$r = enchant_broker_init();