File: jv-not.t

package info (click to toggle)
libjson-validator-perl 3.06%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 616 kB
  • sloc: perl: 1,308; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 169 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
use lib '.';
use t::Helper;

my $schema = {not => {type => 'string'}};

validate_ok 12, $schema;
validate_ok 'str', $schema, E('/', 'Should not match.');

done_testing;