1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Add debug info into failure messages

This commit is contained in:
Hannes Magnusson
2008-06-01 15:52:06 +00:00
parent d2286b95a1
commit f7f5f74c88

View File

@@ -55,6 +55,7 @@ function run_self_tests() {
return array(
"name" => "Apache manual alias",
"see" => $MYSITE . "mirroring-troubles.php#manual-redirect",
"got" => var_export($content),
);
}
@@ -63,6 +64,7 @@ function run_self_tests() {
return array(
"name" => "Header weirdness. Pages named '.html.php' are returning wrong status headers",
"see" => $MYSITE . "mirroring-troubles.php#content-type",
"got" => var_export($ctype),
);
}
@@ -73,7 +75,8 @@ function run_self_tests() {
if (strpos($ctype, "text/html") === false) {
return array(
"name" => "MultiViews on",
"see" => $MYSITE . "mirroring-troubles.php#multiviews"
"see" => $MYSITE . "mirroring-troubles.php#multiviews",
"got" => var_export($ctype),
);
}
@@ -83,6 +86,7 @@ function run_self_tests() {
return array(
"name" => "Var Handler",
"see" => $MYSITE . "mirroring-troubles.php#var",
"got" => var_export($header),
);
}