Browse Source

Added a skip condition if the English dictionary needed for the test is not

avaliable.
experimental/threaded
Ilia Alshanetsky 23 years ago
parent
commit
4910b2da98
  1. 7
      ext/pspell/tests/01pspell_basic.phpt

7
ext/pspell/tests/01pspell_basic.phpt

@ -1,7 +1,12 @@
--TEST--
pspell basic tests
--SKIPIF--
<?php if (!extension_loaded("pspell")) print "skip"; ?>
<?php
if (!extension_loaded("pspell")) print "skip";
if (!@pspell_new ("en", "", "", "", (PSPELL_FAST|PSPELL_RUN_TOGETHER))) {
die("skip English dictionary is not avaliable");
}
?>
--POST--
--GET--
--FILE--

Loading…
Cancel
Save