From 71f00b6ab29e152f67b14d5d55c5dcfed944dc31 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 22 Nov 2004 15:14:14 +0000 Subject: [PATCH] Tests were fixed. --- ext/tidy/tests/005.phpt | 2 +- ext/tidy/tests/007.phpt | 2 +- ext/tidy/tests/013.phpt | 2 +- ext/tidy/tests/015.phpt | 2 +- ext/tidy/tests/016.phpt | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ext/tidy/tests/005.phpt b/ext/tidy/tests/005.phpt index b8da50721b..1d3a10c2ff 100644 --- a/ext/tidy/tests/005.phpt +++ b/ext/tidy/tests/005.phpt @@ -4,7 +4,7 @@ tidy_parse_file() --FILE-- diff --git a/ext/tidy/tests/007.phpt b/ext/tidy/tests/007.phpt index d2fbb2ceb4..26867ff3fb 100644 --- a/ext/tidy/tests/007.phpt +++ b/ext/tidy/tests/007.phpt @@ -6,7 +6,7 @@ Verbose tidy_getopt() tidy.default_config= --FILE-- getopt("tidy-mark")); echo "Current Value of 'error-file': "; diff --git a/ext/tidy/tests/013.phpt b/ext/tidy/tests/013.phpt index 37efa3d69d..8f1ac94ef4 100644 --- a/ext/tidy/tests/013.phpt +++ b/ext/tidy/tests/013.phpt @@ -4,7 +4,7 @@ Parsing a file using constructor --FILE-- true)); + $tidy = new tidy(dirname(__FILE__)."/013.html", array("show-body-only"=>true)); $tidy->cleanRepair(); echo $tidy; diff --git a/ext/tidy/tests/015.phpt b/ext/tidy/tests/015.phpt index 080d3db4aa..03018ffa19 100644 --- a/ext/tidy/tests/015.phpt +++ b/ext/tidy/tests/015.phpt @@ -4,7 +4,7 @@ Passing configuration options through tidy_parse_file(). --FILE-- true)); + $tidy = tidy_parse_file(dirname(__FILE__)."/015.html", array('show-body-only'=>true)); tidy_clean_repair($tidy); echo tidy_get_output($tidy); diff --git a/ext/tidy/tests/016.phpt b/ext/tidy/tests/016.phpt index f4f0752601..c2fddce6fe 100644 --- a/ext/tidy/tests/016.phpt +++ b/ext/tidy/tests/016.phpt @@ -4,8 +4,7 @@ Passing configuration file through tidy_parse_file() --FILE-- -- 2.50.1