thekid          Sat Jan 24 10:18:53 2004 EDT

  Modified files:              
    /php-src/ext/sybase_ct/tests        test_types.phpt 
  Log:
  - Added test on char type
  
http://cvs.php.net/diff.php/php-src/ext/sybase_ct/tests/test_types.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/sybase_ct/tests/test_types.phpt
diff -u php-src/ext/sybase_ct/tests/test_types.phpt:1.1 
php-src/ext/sybase_ct/tests/test_types.phpt:1.2
--- php-src/ext/sybase_ct/tests/test_types.phpt:1.1     Fri Jan 23 21:18:13 2004
+++ php-src/ext/sybase_ct/tests/test_types.phpt Sat Jan 24 10:18:52 2004
@@ -6,7 +6,7 @@
 <?php
 /* This file is part of PHP test framework for ext/sybase_ct
  *
- * $Id: test_types.phpt,v 1.1 2004/01/24 02:18:13 thekid Exp $ 
+ * $Id: test_types.phpt,v 1.2 2004/01/24 15:18:52 thekid Exp $ 
  */
 
   require('test.inc');
@@ -24,7 +24,8 @@
     convert(datetime, "2004-01-23") as "date",
     NULL as "null",
     convert(bit, 1) as "bit",
-    convert(smalldatetime, "2004-01-23") as "smalldate"
+    convert(smalldatetime, "2004-01-23") as "smalldate",
+    convert(char(10), "char") as "char10"
   '));
       
   sybase_close($db);
@@ -42,7 +43,8 @@
     convert(datetime, "2004-01-23") as "date",
     NULL as "null",
     convert(bit, 1) as "bit",
-    convert(smalldatetime, "2004-01-23") as "smalldate"
+    convert(smalldatetime, "2004-01-23") as "smalldate",
+    convert(char(10), "char") as "char10"
   
 <<< Return: resource
 array(1) {
@@ -72,5 +74,7 @@
     int(1)
     ["smalldate"]=>
     string(19) "Jan 23 2004 12:00AM"
+    ["char10"]=>
+    string(10) "char      "
   }
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to