From 0e3e132a8affa976ef86cce051ba94f8bb43e147 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 9 Jun 2016 23:09:33 -0400 Subject: [PATCH] ext/tidy: fix DOCTYPE definitions in expected test output. The test suite for the tidy extension was written before HTML5 was "standardized". The new tidy-html5 library will output an HTML5 DOCTYPE in the absence of any other information, so the expected test outputs have been updated to accomodate the absense of an HTML version (which is how you declare "HTML5"). --- ext/tidy/tests/003.phpt | 4 ++-- ext/tidy/tests/017.phpt | 4 ++-- ext/tidy/tests/020.phpt | 5 ++--- ext/tidy/tests/026.phpt | 4 ++-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ext/tidy/tests/003.phpt b/ext/tidy/tests/003.phpt index 7201d6a5a2..1a63d44dfd 100644 --- a/ext/tidy/tests/003.phpt +++ b/ext/tidy/tests/003.phpt @@ -10,8 +10,8 @@ tidy_clean_repair() echo tidy_get_output($a); ?> ---EXPECT-- - +--EXPECTF-- + diff --git a/ext/tidy/tests/017.phpt b/ext/tidy/tests/017.phpt index ba620a32ec..24597e1a4a 100644 --- a/ext/tidy/tests/017.phpt +++ b/ext/tidy/tests/017.phpt @@ -5,8 +5,8 @@ The Tidy Output Buffer Filter --FILE-- testing ---EXPECT-- - +--EXPECTF-- + diff --git a/ext/tidy/tests/020.phpt b/ext/tidy/tests/020.phpt index dbfda96375..8ff1efbb68 100644 --- a/ext/tidy/tests/020.phpt +++ b/ext/tidy/tests/020.phpt @@ -19,12 +19,11 @@ var_dump(strlen($tidy->errorBuffer) > 50); echo $tidy; ?> ---EXPECT-- +--EXPECTF-- bool(true) bool(true) - + diff --git a/ext/tidy/tests/026.phpt b/ext/tidy/tests/026.phpt index 24a1e6f4a7..b46cd5464b 100644 --- a/ext/tidy/tests/026.phpt +++ b/ext/tidy/tests/026.phpt @@ -12,8 +12,8 @@ echo '

xpto

'; ?> ---EXPECT-- - +--EXPECTF-- + -- 2.50.1