summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tidy/tests/002.phpt')
-rw-r--r--ext/tidy/tests/002.phpt10
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/tidy/tests/002.phpt b/ext/tidy/tests/002.phpt
index 016664376b..c928a9baae 100644
--- a/ext/tidy/tests/002.phpt
+++ b/ext/tidy/tests/002.phpt
@@ -6,14 +6,10 @@ tidy_parse_string()
--GET--
--INI--
--FILE--
-<?php
- if (class_exists("tidy_doc")) {
- $a = tidy_parse_string("<HTML></HTML>");
+<?php
+ $a = tidy_parse_string("<HTML></HTML>");
echo tidy_get_output($a);
- } else {
- tidy_parse_string("<HTML></HTML>");
- echo tidy_get_output();
- }
+
?>
--EXPECT--
<html>