diff options
Diffstat (limited to 'ext/pspell/tests/001.phpt')
-rw-r--r-- | ext/pspell/tests/001.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pspell/tests/001.phpt b/ext/pspell/tests/001.phpt index bda6709c3b..000671cf8f 100644 --- a/ext/pspell/tests/001.phpt +++ b/ext/pspell/tests/001.phpt @@ -1,7 +1,7 @@ --TEST-- pspell basic tests (warning: may fail with pspell/aspell < GNU Aspell 0.50.3) --SKIPIF-- -<?php +<?php if (!extension_loaded("pspell")) die("skip"); if (!@pspell_new ("en", "", "", "", (PSPELL_FAST|PSPELL_RUN_TOGETHER))) { die("skip English dictionary is not available"); @@ -29,7 +29,7 @@ for($i=0,$u=count($array);$i<$u;++$i) { echo $array[$i].' : '; if (!pspell_check($pspell, $array[$i])) { echo "..false\n"; - echo "Possible spellings: " . join(',',pspell_suggest ($pspell, $array[$i])) . "\n"; + echo "Possible spellings: " . join(',',pspell_suggest ($pspell, $array[$i])) . "\n"; } else { echo "true\n"; } |