summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tidy/tests/003.phpt')
-rw-r--r--ext/tidy/tests/003.phpt14
1 files changed, 5 insertions, 9 deletions
diff --git a/ext/tidy/tests/003.phpt b/ext/tidy/tests/003.phpt
index 27c023e3f1..028e543915 100644
--- a/ext/tidy/tests/003.phpt
+++ b/ext/tidy/tests/003.phpt
@@ -7,15 +7,11 @@ tidy_clean_repair()
--INI--
--FILE--
<?php
- if (class_exists("tidy_doc")) {
- $a = tidy_parse_string("<HTML></HTML>");
- tidy_clean_repair($a);
- echo tidy_get_output($a);
- } else {
- tidy_parse_string("<HTML></HTML>");
- tidy_clean_repair();
- echo tidy_get_output();
- }
+
+ $a = tidy_parse_string("<HTML></HTML>");
+ tidy_clean_repair($a);
+ echo tidy_get_output($a);
+
?>
--EXPECT--
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">