Changeset 8322
- Timestamp:
- 04/05/08 20:24:07 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/validator/sfValidatorUrl.class.php
r6951 r8322 27 27 28 28 $this->setOption('pattern', '~^ 29 https?:// # http or https29 (https?|ftp):// # http or https or ftp 30 30 ( 31 31 ([a-z0-9-]+\.)+[a-z]{2,6} # a domain name branches/1.1/test/unit/validator/sfValidatorUrlTest.php
r6945 r8322 11 11 require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); 12 12 13 $t = new lime_test(1 2, new lime_output_color());13 $t = new lime_test(13, new lime_output_color()); 14 14 15 15 $v = new sfValidatorUrl(); … … 24 24 'http://127.0.0.1/', 25 25 'http://127.0.0.1:80/', 26 'ftp://google.com/foo.tgz', 26 27 ) as $url) 27 28 {

