diff options
Diffstat (limited to 'ext/enchant/tests/enchant_broker_set_dict_path.phpt')
-rw-r--r-- | ext/enchant/tests/enchant_broker_set_dict_path.phpt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/enchant/tests/enchant_broker_set_dict_path.phpt b/ext/enchant/tests/enchant_broker_set_dict_path.phpt index 47a65093bc..3911a7fe4c 100644 --- a/ext/enchant/tests/enchant_broker_set_dict_path.phpt +++ b/ext/enchant/tests/enchant_broker_set_dict_path.phpt @@ -19,23 +19,23 @@ $dictTypeValue2 = 2; if (is_resource($broker)) { echo("OK\n"); - + if (enchant_broker_set_dict_path($broker, $dictTypeValue1, $backEndDictType1)) { echo("OK\n"); - + if (enchant_broker_set_dict_path($broker, $dictTypeValue2, $backEndDictType2)) { echo("OK\n"); - - if ( + + if ( (enchant_broker_get_dict_path($broker,$dictTypeValue1) == $backEndDictType1) && - (enchant_broker_get_dict_path($broker,$dictTypeValue2) == $backEndDictType2) + (enchant_broker_get_dict_path($broker,$dictTypeValue2) == $backEndDictType2) ) { echo("OK\n"); } else { echo("broker get dict path has failed \n"); - } - + } + } else { echo("broker set dict path {$backEndDictType2} has failed \n"); } |