From f845605cf71bc8be3f2b19bea697ed5259c7ce36 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 20 Feb 2023 16:23:28 +0100 Subject: [PATCH] adapt PHP tests for debug output --- test/php/Nominatim/DebugTest.php | 60 ++++++++++++++++---------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/test/php/Nominatim/DebugTest.php b/test/php/Nominatim/DebugTest.php index 09860914..3c9d9d0d 100644 --- a/test/php/Nominatim/DebugTest.php +++ b/test/php/Nominatim/DebugTest.php @@ -29,14 +29,14 @@ class DebugTest extends \PHPUnit\Framework\TestCase
Var1:  True
Var2:  False
Var3:  0
-
Var4:  'String'
-
Var5:  0 => 'one'
-       1 => 'two'
-       2 => 'three'
-
Var6:  'key' => 'value'
-       'key2' => 'value2'
+
Var4:  'String'
+
Var5:  0 => 'one'
+       1 => 'two'
+       2 => 'three'
+
Var6:  'key' => 'value'
+       'key2' => 'value2'
Var7:  me as string
-
Var8:  'value', 'value2'
+
Var8:  'value', 'value2'
EOT ); @@ -56,10 +56,10 @@ EOT public function testDebugArray() { $this->expectOutputString(<<Arr0: 'null' -
Arr1:  'key1' => 'val1'
-       'key2' => 'val2'
-       'key3' => 'val3'
+
Arr0:  'null'
+
Arr1:  'key1' => 'val1'
+       'key2' => 'val2'
+       'key3' => 'val3'
EOT ); @@ -85,12 +85,12 @@ EOT 1 -
'one'
-
'two'
+
'one'
+
'two'
-
'three'
-
'four'
+
'three'
+
'four'
Table4: @@ -101,9 +101,9 @@ EOT key3 -
'val1'
-
'val2'
-
'val3'
+
'val1'
+
'val2'
+
'val3'
@@ -139,18 +139,18 @@ EOT
group1
-
'val1'
-
'val2'
+
'val1'
+
'val2'
group1
-
'one'
-
'two'
+
'one'
+
'two'
group2
-
'val1'
-
'val2'
+
'val1'
+
'val2'
Table4: @@ -163,15 +163,15 @@ EOT
group1
-
'val1'
-
'val2'
-
'val3'
+
'val1'
+
'val2'
+
'val3'
group1
-
'val1'
-
'val2'
-
'val3'
+
'val1'
+
'val2'
+
'val3'
-- 2.45.1