felipe Sun Jan 18 13:28:03 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/dbase/tests bug46282.phpt
Log:
- Fixed test
http://cvs.php.net/viewvc.cgi/php-src/ext/dbase/tests/bug46282.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/dbase/tests/bug46282.phpt
diff -u php-src/ext/dbase/tests/bug46282.phpt:1.1.2.1
php-src/ext/dbase/tests/bug46282.phpt:1.1.2.2
--- php-src/ext/dbase/tests/bug46282.phpt:1.1.2.1 Sat Jan 17 17:34:45 2009
+++ php-src/ext/dbase/tests/bug46282.phpt Sun Jan 18 13:28:03 2009
@@ -20,7 +20,7 @@
}
// open in read-write mode
-$db = dbase_open('test.dbf', 2);
+$db = dbase_open($file, 2);
if ($db) {
for ($i = 0; $i < 5; $i++) {
@@ -40,7 +40,7 @@
--EXPECTF--
array(5) {
[0]=>
- string(8) "20090117"
+ string(8) "%d"
[1]=>
string(50) "Name #0 "
[2]=>
@@ -52,7 +52,7 @@
}
array(5) {
[0]=>
- string(8) "20090117"
+ string(8) "%d"
[1]=>
string(50) "Name #1 "
[2]=>
@@ -64,7 +64,7 @@
}
array(5) {
[0]=>
- string(8) "20090117"
+ string(8) "%d"
[1]=>
string(50) "Name #2 "
[2]=>
@@ -76,7 +76,7 @@
}
array(5) {
[0]=>
- string(8) "20090117"
+ string(8) "%d"
[1]=>
string(50) "Name #3 "
[2]=>
@@ -88,7 +88,7 @@
}
array(5) {
[0]=>
- string(8) "20090117"
+ string(8) "%d"
[1]=>
string(50) "Name #4 "
[2]=>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php