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 | 16 |
1 files changed, 8 insertions, 8 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..db35288a42 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 ( - (enchant_broker_get_dict_path($broker,$dictTypeValue1) == $backEndDictType1) && - (enchant_broker_get_dict_path($broker,$dictTypeValue2) == $backEndDictType2) + + if ( + (enchant_broker_get_dict_path($broker,$dictTypeValue1) == $backEndDictType1) && + (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"); } |