FU::Validate: Add module + integrate with FU

Copied from TUWF::Validate with a few small changes. I have a few more
features planned, but let's see how this goes first.

It's been an incredibly useful module in the past, I'm not sure right
now if I had ideas for potential improvements at some point, will need
to check notes.
This commit is contained in:
Yorhel 2025-02-25 14:27:47 +01:00
parent c7a3415485
commit 69262992ca
6 changed files with 1228 additions and 7 deletions

View file

@ -38,4 +38,10 @@ SKIP: {
is to_bool Cpanel::JSON::XS::false(), false;
}
SKIP: {
eval { require boolean; 1 } || skip '"boolean" not installed';
is to_bool boolean::true(), true;
is to_bool boolean::false(), false;
}
done_testing;