aboutsummaryrefslogtreecommitdiffstats
path: root/models/git/protected_branch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/git/protected_branch_test.go')
-rw-r--r--models/git/protected_branch_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/git/protected_branch_test.go b/models/git/protected_branch_test.go
index e1c91d927d..367992081d 100644
--- a/models/git/protected_branch_test.go
+++ b/models/git/protected_branch_test.go
@@ -74,7 +74,7 @@ func TestBranchRuleMatch(t *testing.T) {
} else {
infact = " not"
}
- assert.EqualValues(t, kase.ExpectedMatch, pb.Match(kase.BranchName),
+ assert.Equal(t, kase.ExpectedMatch, pb.Match(kase.BranchName),
"%s should%s match %s but it is%s", kase.BranchName, should, kase.Rule, infact,
)
}