summaryrefslogtreecommitdiffstats
path: root/modules/validation/binding_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/validation/binding_test.go')
-rw-r--r--modules/validation/binding_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/validation/binding_test.go b/modules/validation/binding_test.go
index e0daba89e5..d3b4e686ae 100644
--- a/modules/validation/binding_test.go
+++ b/modules/validation/binding_test.go
@@ -26,9 +26,10 @@ type (
}
TestForm struct {
- BranchName string `form:"BranchName" binding:"GitRefName"`
- URL string `form:"ValidUrl" binding:"ValidUrl"`
- GlobPattern string `form:"GlobPattern" binding:"GlobPattern"`
+ BranchName string `form:"BranchName" binding:"GitRefName"`
+ URL string `form:"ValidUrl" binding:"ValidUrl"`
+ GlobPattern string `form:"GlobPattern" binding:"GlobPattern"`
+ RegexPattern string `form:"RegexPattern" binding:"RegexPattern"`
}
)