summaryrefslogtreecommitdiffstats
path: root/models/repo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo_test.go')
-rw-r--r--models/repo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_test.go b/models/repo_test.go
index cd4bbcccfa..10ba2c99f8 100644
--- a/models/repo_test.go
+++ b/models/repo_test.go
@@ -75,7 +75,7 @@ func TestGetRepositoryCount(t *testing.T) {
assert.NoError(t, err2)
assert.NoError(t, err3)
assert.Equal(t, int64(3), count)
- assert.Equal(t, (privateCount + publicCount), count)
+ assert.Equal(t, privateCount+publicCount, count)
}
func TestGetPublicRepositoryCount(t *testing.T) {