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