| 1 | package JMAP::Validation; | ||
| 2 | # ABSTRACT: Validation checking for JMAP | ||
| 3 | |||
| 4 | 10 | ▶ | use Test2::Bundle::Extended; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 10 | use Test2::Compare qw{ | |
| 7 | compare | ||
| 8 | strict_convert | ||
| 9 | 10 | ▶ | }; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | sub validate { | ||
| 12 | 0 | ▶ | my ($got, $expected) = @_; |
|
Subroutine
validate: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 13 | |||
| 14 | 0 | return !compare($got, $expected, \&strict_convert); | |
| 15 | } | ||
| 16 | |||
| 17 | 10 | 1; | |