File: undefined_arrayref.t

package info (click to toggle)
libdata-formvalidator-perl 4.70-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 676 kB
  • sloc: perl: 2,839; 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");