diff options
Diffstat (limited to 'ext/tidy/tests/002.phpt')
-rw-r--r-- | ext/tidy/tests/002.phpt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/tidy/tests/002.phpt b/ext/tidy/tests/002.phpt new file mode 100644 index 0000000..89c3804 --- /dev/null +++ b/ext/tidy/tests/002.phpt @@ -0,0 +1,18 @@ +--TEST-- +tidy_parse_string() +--SKIPIF-- +<?php if (!extension_loaded("tidy")) print "skip"; ?> +--FILE-- +<?php + $a = tidy_parse_string("<HTML></HTML>"); + echo tidy_get_output($a); + +?> +--EXPECT-- +<html> +<head> +<title></title> +</head> +<body> +</body> +</html>
\ No newline at end of file |