Permalink
Browse files

test cohérence

git-svn-id: svn://svn.mongueurs.net/act/trunk@119 67b57a05-4208-db11-a765-00306e02d86a
  • Loading branch information...
Éric Cholet
Éric Cholet committed Mar 30, 2004
1 parent 9aa8b2c commit b713dc0c15abcb054ac12703e1aa46fc7024e780
Showing with 4 additions and 1 deletion.
  1. +4 −1 t/form.t
View
@@ -1,7 +1,7 @@
#!perl -w
use strict;
-use Test::More tests => 42;
+use Test::More tests => 50;
my @tests = (
{ profile => {
@@ -112,6 +112,9 @@ for my $t (@tests) {
if ($i->{invalid}) {
is_deeply($f->invalid, $i->{invalid});
}
+ else {
+ ok(!defined($i->{invalid}));
+ }
}
}

0 comments on commit b713dc0

Please sign in to comment.