Ticket #3461: lime.patch
| File lime.patch, 13.0 kB (added by sean, 5 months ago) |
|---|
-
tests/phpt/isa_ok.phpt
old new 9 9 --EXPECT-- 10 10 ok 1 11 11 1..1 12 Looks like everything went fine. -
tests/phpt/todo_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 # TODO test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/skip.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 # SKIP 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/skip_name.phpt
old new 9 9 ok 1 # SKIP test name 10 10 ok 2 # SKIP test name 11 11 1..2 12 Looks like everything went fine. -
tests/phpt/cmp_ok.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/cmp_ok_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/ok_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/is_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/fail_name.phpt
old new 9 9 not ok 1 - test name 10 10 # Failed test (./tests/phpt/fail_name.php at line 3) 11 11 1..1 12 #Looks like you failed 1 tests of 1.12 Looks like you failed 1 tests of 1. -
tests/phpt/include_ok.phpt
old new 3 3 --FILE-- 4 4 <?php 5 5 require_once(dirname(__FILE__).'/setup.php'); 6 $t->include_ok(dirname(__FILE__).'/ setup.php');6 $t->include_ok(dirname(__FILE__).'/include_test.php'); 7 7 ?> 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/include_ok_name.phpt
old new 3 3 --FILE-- 4 4 <?php 5 5 require_once(dirname(__FILE__).'/setup.php'); 6 $t->include_ok(dirname(__FILE__).'/ setup.php', 'test name');6 $t->include_ok(dirname(__FILE__).'/include_test.php', 'test name'); 7 7 ?> 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/isnt.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/is_deeply_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/like_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/like.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/ok_fails.phpt
old new 9 9 not ok 1 10 10 # Failed test (./tests/phpt/ok_fails.php at line 3) 11 11 1..1 12 #Looks like you failed 1 tests of 1.12 Looks like you failed 1 tests of 1. -
tests/phpt/unlike_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/is_fails.phpt
old new 11 11 # got: false 12 12 # expected: true 13 13 1..1 14 #Looks like you failed 1 tests of 1.14 Looks like you failed 1 tests of 1. -
tests/phpt/is_deeply_fails.phpt
old new 4 4 <?php 5 5 require_once(dirname(__FILE__).'/setup.php'); 6 6 $t->is_deeply(array(1, 2, array(1 => 'foo', 'a' => '4')), array(1, 2, array(1 => 'bar', 'a' => '4'))); 7 $t->is_deeply(array(1, 2, 3), array()); 8 $t->is_deeply(array(), array(1, 2, 3)); 7 9 ?> 8 10 --EXPECT-- 9 11 not ok 1 10 12 # Failed test (./tests/phpt/is_deeply_fails.php at line 3) 11 13 # got: array ( 0 => 1, 1 => 2, 2 => array ( 1 => 'foo', 'a' => '4', ),) 12 14 # expected: array ( 0 => 1, 1 => 2, 2 => array ( 1 => 'bar', 'a' => '4', ),) 13 1..1 14 # Looks like you failed 1 tests of 1. 15 not ok 2 16 # Failed test (./tests/phpt/is_deeply_fails.php at line 4) 17 # got: array ( 0 => 1, 1 => 2, 2 => 3,) 18 # expected: array () 19 not ok 3 20 # Failed test (./tests/phpt/is_deeply_fails.php at line 5) 21 # got: array () 22 # expected: array ( 0 => 1, 1 => 2, 2 => 3,) 23 1..3 24 Looks like you failed 3 tests of 3. -
tests/phpt/include_test.php
old new 1 <?php 2 $include_test_var = 23; 3 ?> -
tests/phpt/isa_ok_name.phpt
old new 9 9 --EXPECT-- 10 10 ok 1 - test name 11 11 1..1 12 Looks like everything went fine. -
tests/phpt/todo.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 # TODO 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/unlike_fails.phpt
old new 11 11 # 'test01' 12 12 # matches '/test\d+/' 13 13 1..1 14 #Looks like you failed 1 tests of 1.14 Looks like you failed 1 tests of 1. -
tests/phpt/pass_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/pass.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/can_ok_fails.phpt
old new 11 11 # Failed test (./tests/phpt/can_ok_fails.php at line 4) 12 12 # method 'foo' does not exist 13 13 1..1 14 #Looks like you failed 1 tests of 1.14 Looks like you failed 1 tests of 1. -
tests/phpt/ok.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/fail.phpt
old new 9 9 not ok 1 10 10 # Failed test (./tests/phpt/fail.php at line 3) 11 11 1..1 12 #Looks like you failed 1 tests of 1.12 Looks like you failed 1 tests of 1. -
tests/phpt/is.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/is_deeply.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/isnt_name.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 - test name 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/isa_ok_fails.phpt
old new 11 11 # Failed test (./tests/phpt/isa_ok_fails.php at line 4) 12 12 # isa_ok isn't a 'Foo' it's a 'Test' 13 13 1..1 14 #Looks like you failed 1 tests of 1.14 Looks like you failed 1 tests of 1. -
tests/phpt/cmp_ok_fails.phpt
old new 12 12 # > 13 13 # 1 14 14 1..1 15 #Looks like you failed 1 tests of 1.15 Looks like you failed 1 tests of 1. -
tests/phpt/unlike.phpt
old new 8 8 --EXPECT-- 9 9 ok 1 10 10 1..1 11 Looks like everything went fine. -
tests/phpt/can_ok.phpt
old new 9 9 --EXPECT-- 10 10 ok 1 11 11 1..1 12 Looks like everything went fine. -
tests/phpt/can_ok_name.phpt
old new 9 9 --EXPECT-- 10 10 ok 1 - test name 11 11 1..1 12 Looks like everything went fine. -
tests/phpt/include_ok_fails.phpt
old new 10 10 # Failed test (./tests/phpt/include_ok_fails.php at line 3) 11 11 # Tried to include 'foo.php' 12 12 1..1 13 #Looks like you failed 1 tests of 1.13 Looks like you failed 1 tests of 1. -
tests/phpt/isnt_fails.phpt
old new 12 12 # ne 13 13 # false 14 14 1..1 15 #Looks like you failed 1 tests of 1.15 Looks like you failed 1 tests of 1. -
tests/phpt/like_fails.phpt
old new 11 11 # 'tests01' 12 12 # doesn't match '/test\d+/' 13 13 1..1 14 #Looks like you failed 1 tests of 1.14 Looks like you failed 1 tests of 1. -
lib/lime.php
old new 240 240 { 241 241 ksort($var1); 242 242 ksort($var2); 243 if (array_diff(array_keys($var1), array_keys($var2))) 243 244 $keys1 = array_keys($var1); 245 $keys2 = array_keys($var2); 246 if (array_diff($keys1, $keys2) || array_diff($keys2, $keys1)) 244 247 { 245 248 return false; 246 249 }