From f4ee7dee8106a873c09707e5a4ae647ae0b2744d Mon Sep 17 00:00:00 2001 From: Patrick Allaert Date: Tue, 1 Sep 2009 13:06:31 +0000 Subject: [PATCH] Added Tidy basic test for tidy_warning_count --- ext/tidy/tests/033.phpt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ext/tidy/tests/033.phpt 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) -- 2.50.1