3 references to GetRegExErrorMessage
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (2)
318
Assert.Contains(ValidationAttributeUtil.
GetRegExErrorMessage
("hehehe", "Street"), errorMessages);
350
Assert.Contains(ValidationAttributeUtil.
GetRegExErrorMessage
("hehehe", "Street"), errorMessages);
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
TryValidateModelIntegrationTest.cs (1)
112
var contactUsRegEx = ValidationAttributeUtil.
GetRegExErrorMessage
("^[0-9]*$", "Contact Us");