From 5e17a282186b30d5a7900f2ccc0d308f26a34d63 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 12 Sep 2006 10:44:18 +0000 Subject: [PATCH] fix test --- ext/reflection/tests/bug29986.phpt | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/ext/reflection/tests/bug29986.phpt b/ext/reflection/tests/bug29986.phpt index 7954942a39..97f2083348 100644 --- a/ext/reflection/tests/bug29986.phpt +++ b/ext/reflection/tests/bug29986.phpt @@ -17,14 +17,14 @@ Reflection::export(new ReflectionClass('just_constants')); ?> --EXPECTF-- Class [ class just_constants ] { - @@ %s + @@ %s %d-%d - Constants [5] { - Constant [ boolean BOOLEAN_CONSTANT ] { } - Constant [ null NULL_CONSTANT ] { } - Constant [ string STRING_CONSTANT ] { } - Constant [ integer INTEGER_CONSTANT ] { } - Constant [ double FLOAT_CONSTANT ] { } + Constant [ boolean BOOLEAN_CONSTANT ] { 1 } + Constant [ null NULL_CONSTANT ] { } + Constant [ string STRING_CONSTANT ] { This is a string } + Constant [ integer INTEGER_CONSTANT ] { 1000 } + Constant [ double FLOAT_CONSTANT ] { 3.14159265 } } - Static properties [0] { @@ -41,14 +41,14 @@ Class [ class just_constants ] { } --UEXPECTF-- Class [ class just_constants ] { - @@ %s + @@ %s %d-%d - Constants [5] { - Constant [ boolean BOOLEAN_CONSTANT ] { } - Constant [ null NULL_CONSTANT ] { } - Constant [ Unicode string STRING_CONSTANT ] { } - Constant [ integer INTEGER_CONSTANT ] { } - Constant [ double FLOAT_CONSTANT ] { } + Constant [ boolean BOOLEAN_CONSTANT ] { 1 } + Constant [ null NULL_CONSTANT ] { } + Constant [ Unicode string STRING_CONSTANT ] { This is a string } + Constant [ integer INTEGER_CONSTANT ] { 1000 } + Constant [ double FLOAT_CONSTANT ] { 3.14159265 } } - Static properties [0] { @@ -63,4 +63,3 @@ Class [ class just_constants ] { - Methods [0] { } } - -- 2.50.1