File: undefined_arrayref.t

package info (click to toggle)
libdata-formvalidator-perl 4.66-1%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 588 kB
  • ctags: 127
  • sloc: perl: 2,756; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
use Test::More tests => 1;
use Data::FormValidator;
use strict;

my ( $valid, $missing, $invalid, $unknown ) = Data::FormValidator->validate({}, {} );
ok(  (ref $invalid eq 'ARRAY'), "no invalid fields are returned as an arrayref");