Skip to content

Commit

Permalink
Adding test for #2952.
Browse files Browse the repository at this point in the history
  • Loading branch information
zombor committed Jun 11, 2010
1 parent 5179442 commit c792a37
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/kohana/ValidateTest.php
Expand Up @@ -206,9 +206,11 @@ public function provider_digit()
{
return array(
array('12345', TRUE),
array('10.5', FALSE),
array('abcde', FALSE),
array('abcd1234', FALSE)
array('10.5', FALSE),
array('abcde', FALSE),
array('abcd1234', FALSE),
array('-5', FALSE),
array(-5, FALSE),
);
}

Expand Down

0 comments on commit c792a37

Please sign in to comment.