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