-### three groups, some with validate_if's - using arrayref
-$v = '
-- group validate_if: foo
- bar:
- required: 1
-- group validate_if: hem
- haw: { required: 1 }
-- raspberry:
- required: 1
-';
-
-$e = validate({}, $v);
-ok($e);
-
-$e = validate({
- raspberry => 'tart',
-}, $v);
-ok(! $e);
-
-$e = validate({
- foo => 1,
- raspberry => 'tart',
-}, $v);
-ok($e);
-
-$e = validate({
- foo => 1,
- bar => 1,
- raspberry => 'tart',
-}, $v);
-ok(! $e);
-
-$e = validate({
- foo => 1,
- bar => 1,
- hem => 1,
- raspberry => 'tart',
-}, $v);
-ok($e);
-
-$e = validate({
- foo => 1,
- bar => 1,
- hem => 1,
- haw => 1,
- raspberry => 'tart',
-}, $v);
-ok(! $e);
-
-
-### three groups, some with validate_if's - using documents
-$v = '---
-group validate_if: foo
-bar:
- required: 1
----
-group validate_if: hem
-haw: { required: 1 }
----
-raspberry:
- required: 1
-';
-
-$e = validate({}, $v);
-ok($e);
-
-$e = validate({
- raspberry => 'tart',
-}, $v);
-ok(! $e);
-
-$e = validate({
- foo => 1,
- raspberry => 'tart',
-}, $v);
-ok($e);
-
-$e = validate({
- foo => 1,
- bar => 1,
- raspberry => 'tart',
-}, $v);
-ok(! $e);
-
-$e = validate({
- foo => 1,
- bar => 1,
- hem => 1,
- raspberry => 'tart',
-}, $v);
-ok($e);
-
-$e = validate({
- foo => 1,
- bar => 1,
- hem => 1,
- haw => 1,
- raspberry => 'tart',
-}, $v);
-ok(! $e);
-
-} # end of SKIP