Update broker_get_error.phpt

This commit is contained in:
marcosptf 2015-08-09 07:31:56 -03:00
parent c9857071d4
commit 4191709915

View File

@ -5,7 +5,7 @@ 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");}
?>
--FILE--
<?php
@ -13,6 +13,7 @@ $broker = enchant_broker_init();
if (is_resource($broker)) {
echo("OK\n");
$enchantErr = enchant_broker_get_error($broker);
if ("" == $enchantErr) {
echo("OK\n");
} else {