From: marcosptf Date: Mon, 10 Aug 2015 17:14:13 +0000 (-0300) Subject: Update dict_check.phpt X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dc3dadf717fa9227215220f60908e58da873fc7;p=php Update dict_check.phpt --- diff --git a/ext/enchant/tests/dict_check.phpt b/ext/enchant/tests/dict_check.phpt index 75e7790562..fd5cf45b34 100644 --- a/ext/enchant/tests/dict_check.phpt +++ b/ext/enchant/tests/dict_check.phpt @@ -20,12 +20,13 @@ if (is_resource($broker)) { if ($requestDict) { echo("OK\n"); + enchant_dict_add_to_personal($requestDict, $newWord); - if (enchant_dict_check($requestDict,$newWord)) { + if (enchant_dict_check($requestDict, $newWord)) { echo("OK\n"); } else { - echo("dict add to personal failed\n"); + echo("dict check new word failed\n"); } } else {