From: Patrick Allaert Date: Tue, 1 Sep 2009 13:06:16 +0000 (+0000) Subject: Added Tidy basic test for tidy_error_count X-Git-Tag: php-5.4.0alpha1~191^2~2716 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a13759354102f1d8c035047ebc51c31f5e8b93b4;p=php Added Tidy basic test for tidy_error_count --- diff --git a/ext/tidy/tests/032.phpt b/ext/tidy/tests/032.phpt new file mode 100644 index 0000000000..23230b0650 --- /dev/null +++ b/ext/tidy/tests/032.phpt @@ -0,0 +1,17 @@ +--TEST-- +tidy_error_count() function - basic test for tidy_error_count() +--CREDITS-- +Christian Wenz +--SKIPIF-- + +--FILE-- +'; + +$tidy = tidy_parse_string($buffer); +var_dump(tidy_error_count($tidy)); +?> +--EXPECTF-- +int(%d)