From 1970c23d86e8c6a37281aa3162430fb68a6cc7a6 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Fri, 5 Aug 2011 22:18:50 +0000 Subject: [PATCH] Improve test portabilty --- ext/oci8/tests/bug37220.phpt | 2 +- ext/oci8/tests/xmltype_02.phpt | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ext/oci8/tests/bug37220.phpt b/ext/oci8/tests/bug37220.phpt index 8d59644b8e..fd91dc73d6 100644 --- a/ext/oci8/tests/bug37220.phpt +++ b/ext/oci8/tests/bug37220.phpt @@ -43,7 +43,7 @@ oci_execute($stmt); while ($row = oci_fetch_array($stmt, OCI_ASSOC+OCI_RETURN_NULLS)) { foreach ($row as $item) { - echo $item."\n"; + echo trim($item)."\n"; } echo "\n"; } diff --git a/ext/oci8/tests/xmltype_02.phpt b/ext/oci8/tests/xmltype_02.phpt index 5ac294102e..28e9401baf 100644 --- a/ext/oci8/tests/xmltype_02.phpt +++ b/ext/oci8/tests/xmltype_02.phpt @@ -164,18 +164,18 @@ object(SimpleXMLElement)#%d (10) { string(2) "10" } Test 3: Update changes using a temporary CLOB -string(331) " +string(%d) " -1 -Southlake, Texas -Owned -25000 -1 -Rear load -true -N -Street -10 +%sWarehouseId>1 +%sWarehouseName>Southlake, Texas +%sBuilding>Owned +%sArea>25000 +%sDocks>1 +%sDockType>Rear load +%sWaterAccess>true +%sRailAccess>N +%sParking>Street +%sVClearance>10 " ===DONE=== \ No newline at end of file -- 2.40.0