mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 06:40:40 +00:00
Merge remote-tracking branch 'origin/develop' into go_modules_route_compatibility
# Conflicts: # go.mod # go.sum
This commit is contained in:
@ -381,8 +381,8 @@ func TestValid(t *testing.T) {
|
||||
if len(valid.Errors) != 1 {
|
||||
t.Fatalf("valid errors len should be 1 but got %d", len(valid.Errors))
|
||||
}
|
||||
if valid.Errors[0].Key != "Age.Range" {
|
||||
t.Errorf("Message key should be `Name.Match` but got %s", valid.Errors[0].Key)
|
||||
if valid.Errors[0].Key != "Age.Range." {
|
||||
t.Errorf("Message key should be `Age.Range` but got %s", valid.Errors[0].Key)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user