summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/005.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tidy/tests/005.phpt')
-rw-r--r--ext/tidy/tests/005.phpt18
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/tidy/tests/005.phpt b/ext/tidy/tests/005.phpt
new file mode 100644
index 0000000..1d3a10c
--- /dev/null
+++ b/ext/tidy/tests/005.phpt
@@ -0,0 +1,18 @@
+--TEST--
+tidy_parse_file()
+--SKIPIF--
+<?php if (!extension_loaded("tidy")) print "skip"; ?>
+--FILE--
+<?php
+ $a = tidy_parse_file(dirname(__FILE__)."/005.html");
+ echo tidy_get_output($a);
+
+?>
+--EXPECT--
+<html>
+<head>
+<title></title>
+</head>
+<body>
+</body>
+</html> \ No newline at end of file