Skip to content

Commit

Permalink
- Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Apr 3, 2008
1 parent 889ba3c commit 1054bfb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions ext/standard/tests/array/array_reverse_variation5.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
--TEST--
Test array_reverse() function : usage variations - assoc. array with diff. value for 'array' argument
--INI--
precision=12
--FILE--
<?php
/* Prototype : array array_reverse(array $array [, bool $preserve_keys])
Expand Down Expand Up @@ -179,7 +181,7 @@ array(1) {
- default argument -
array(4) {
["f4"]=>
float(33333333.333333)
float(33333333.3333)
[0]=>
float(4.8999992284)
["f2"]=>
Expand All @@ -190,7 +192,7 @@ array(4) {
- $preserve keys = true -
array(4) {
["f4"]=>
float(33333333.333333)
float(33333333.3333)
[3]=>
float(4.8999992284)
["f2"]=>
Expand All @@ -201,7 +203,7 @@ array(4) {
- $preserve_keys = false -
array(4) {
["f4"]=>
float(33333333.333333)
float(33333333.3333)
[0]=>
float(4.8999992284)
["f2"]=>
Expand Down
6 changes: 4 additions & 2 deletions ext/standard/tests/array/array_unshift_variation5.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
--TEST--
Test array_unshift() function : usage variations - assoc. array with diff values for 'array' argument
--INI--
precision=12
--FILE--
<?php
/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...])
Expand Down Expand Up @@ -209,7 +211,7 @@ array(5) {
[1]=>
float(4.8999992284)
["f4"]=>
float(33333333.333333)
float(33333333.3333)
}
int(7)
array(7) {
Expand All @@ -226,7 +228,7 @@ array(7) {
[3]=>
float(4.8999992284)
["f4"]=>
float(33333333.333333)
float(33333333.3333)
}
-- Iteration 7 --
int(5)
Expand Down

0 comments on commit 1054bfb

Please sign in to comment.