diff options
Diffstat (limited to 'ext/pspell/tests/002.phpt')
-rw-r--r-- | ext/pspell/tests/002.phpt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/pspell/tests/002.phpt b/ext/pspell/tests/002.phpt index 1b0dc2cdfa..538775d013 100644 --- a/ext/pspell/tests/002.phpt +++ b/ext/pspell/tests/002.phpt @@ -10,15 +10,12 @@ if (!@pspell_new('en')) die('skip English dictionary is not available'); $p = pspell_new('en'); -var_dump(pspell_check('a')); var_dump(pspell_check($p, 'somebogusword')); var_dump(pspell_add_to_session($p, '')); var_dump(pspell_add_to_session($p, 'somebogusword')); var_dump(pspell_check($p, 'somebogusword')); -var_dump(pspell_clear_session(new stdclass)); - $res = @pspell_clear_session($p); if ($res) { var_dump($res); @@ -29,14 +26,9 @@ if ($res) { } ?> --EXPECTF-- -Warning: pspell_check() expects exactly 2 parameters, 1 given in %s on line %d -NULL bool(false) bool(false) bool(true) bool(true) - -Warning: pspell_clear_session() expects parameter 1 to be int, object given in %s on line %d -NULL bool(true) bool(false) |