garde 0.22.1

Validation library
Documentation
---
source: garde/tests/./rules/pattern.rs
expression: snapshot
---
Test {
    field: "dcba",
    field_path: "dcba",
    field_path_once_cell: "abcd",
    field_call: "dcba",
    inner: [
        "dcba",
    ],
}
field: does not match pattern /^abcd|efgh$/
field_call: does not match pattern /^abcd|efgh$/
field_path: does not match pattern /^abcd|efgh$/
inner[0]: does not match pattern /^abcd|efgh$/

Test {
    field: "hgfe",
    field_path: "hgfe",
    field_path_once_cell: "abcd",
    field_call: "hgfe",
    inner: [
        "hgfe",
    ],
}
field: does not match pattern /^abcd|efgh$/
field_call: does not match pattern /^abcd|efgh$/
field_path: does not match pattern /^abcd|efgh$/
inner[0]: does not match pattern /^abcd|efgh$/