From fc179917d813f3d11a064720fa2b468c7f13a58d Mon Sep 17 00:00:00 2001 From: Brad House Date: Fri, 29 Nov 2024 11:02:49 -0500 Subject: [PATCH] sync with real error message --- .../tests/yang_model_tests/tests/interface.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests/interface.json b/src/sonic-yang-models/tests/yang_model_tests/tests/interface.json index eb9663bb6c71..a5af525aa9cf 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests/interface.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests/interface.json @@ -35,6 +35,6 @@ }, "INTERFACE_INVALID_MAC_ADDR": { "desc": "Set invalid interface mac address.", - "eStr": "Invalid value \"badaddr\" in \"mac_addr\" element." + "eStr": "Value \"badaddr\" does not satisfy the constraint \"[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}\" (range, length, or pattern)." } }