X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f45b3fa3f243de8894c03d8c9377157d01092c8c..fa1c402b47bdd1f76b8528885c0e3a5e90731cdc:/test/php/Nominatim/DebugTest.php diff --git a/test/php/Nominatim/DebugTest.php b/test/php/Nominatim/DebugTest.php index 7ef1dba3..84e8f215 100644 --- a/test/php/Nominatim/DebugTest.php +++ b/test/php/Nominatim/DebugTest.php @@ -1,13 +1,21 @@ oWithDebuginfo = $this->getMockBuilder(\GeococdeMock::class) ->setMethods(array('debugInfo')) @@ -29,14 +37,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 +64,10 @@ EOT public function testDebugArray() { $this->expectOutputString(<<
Arr1: 'key1' => 'val1' - 'key2' => 'val2' - 'key3' => 'val3'+
Arr0: 'null'+
Arr1: 'key1' => 'val1' + 'key2' => 'val2' + 'key3' => 'val3'EOT ); @@ -85,12 +93,12 @@ EOT
'one'
'two'
'one'
'two'
'three'
'four'
'three'
'four'
'val1'
'val2'
'val3'
'val1'
'val2'
'val3'
group1
'val1'
'val2'
'val1'
'val2'
group1
'one'
'two'
'one'
'two'
group2
'val1'
'val2'
'val1'
'val2'
group1
'val1'
'val2'
'val3'
'val1'
'val2'
'val3'
group1
'val1'
'val2'
'val3'
'val1'
'val2'
'val3'