From 3bb31535a743cf1e625a399e002431a37fbfa8a8 Mon Sep 17 00:00:00 2001 From: Naiker Date: Mon, 13 May 2024 10:44:08 +0100 Subject: [PATCH] fixed test --- .../demo/tests/models/snapshots/can_validate_model@users.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/demo/tests/models/snapshots/can_validate_model@users.snap b/examples/demo/tests/models/snapshots/can_validate_model@users.snap index 708479af8..c20ce50ca 100644 --- a/examples/demo/tests/models/snapshots/can_validate_model@users.snap +++ b/examples/demo/tests/models/snapshots/can_validate_model@users.snap @@ -4,6 +4,6 @@ expression: res --- Err( Custom( - "{\"email\":[{\"code\":\"invalid email\",\"message\":null}],\"name\":[{\"code\":\"length\",\"message\":\"Name must be at least 2 characters long.\"}]}", + "{\"name\":[{\"code\":\"length\",\"message\":\"Name must be at least 2 characters long.\"}],\"email\":[{\"code\":\"invalid email\",\"message\":null}]}", ), )