summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/006.phpt
diff options
context:
space:
mode:
authorJohn Coggeshall <john@php.net>2003-09-22 18:40:38 +0000
committerJohn Coggeshall <john@php.net>2003-09-22 18:40:38 +0000
commitd8eeb8e28673236bca3f066ded75037a5bdf6378 (patch)
tree86098c5a695e81f72741d5c9d6ade955c6491fbd /ext/tidy/tests/006.phpt
parent6b567f80c7ffc57957107949f90080d7bcb24744 (diff)
downloadphp-git-d8eeb8e28673236bca3f066ded75037a5bdf6378.tar.gz
Updated test cases and examples and cleaned up the new OO code so it will
be easier to maintain.
Diffstat (limited to 'ext/tidy/tests/006.phpt')
-rw-r--r--ext/tidy/tests/006.phpt6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/tidy/tests/006.phpt b/ext/tidy/tests/006.phpt
index 37f3ebb899..7ea28e79c5 100644
--- a/ext/tidy/tests/006.phpt
+++ b/ext/tidy/tests/006.phpt
@@ -8,11 +8,9 @@ Verbose tidy_get_error_buffer()
--FILE--
<?php
- $tidy = tidy_create();
+ tidy_parse_string("<HTML><asd asdf></HTML>");
- tidy_parse_string($tidy, "<HTML><asd asdf></HTML>");
-
- echo tidy_get_error_buffer($tidy, true);
+ echo tidy_get_error_buffer(true);
?>
--EXPECT--