From 285b73fa1f671bac289d31ffa9664500d2c0d1c5 Mon Sep 17 00:00:00 2001 From: "Preston L. Bannister" Date: Thu, 16 May 2002 21:56:44 +0000 Subject: [PATCH] Make failed case tell you what was different. --- tests/lang/029.phpt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/lang/029.phpt b/tests/lang/029.phpt index 4fcaa3811a..65b15c00a0 100644 --- a/tests/lang/029.phpt +++ b/tests/lang/029.phpt @@ -21,6 +21,14 @@ ob_start(); var_dump($o); $y=ob_get_contents(); ob_end_clean(); -echo ($x==$y) ? 'success':'failure'; ?> +if ($x == $y) { + print "success"; +} else { + print "failure +x=$x +y=$y +"; +} +?> --EXPECT-- success -- 2.50.1