aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/repo_ref_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_ref_test.go')
-rw-r--r--modules/git/repo_ref_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/git/repo_ref_test.go b/modules/git/repo_ref_test.go
index 2a3ea26a76..d32b34994c 100644
--- a/modules/git/repo_ref_test.go
+++ b/modules/git/repo_ref_test.go
@@ -19,13 +19,14 @@ func TestRepository_GetRefs(t *testing.T) {
refs, err := bareRepo1.GetRefs()
assert.NoError(t, err)
- assert.Len(t, refs, 4)
+ assert.Len(t, refs, 5)
expectedRefs := []string{
BranchPrefix + "branch1",
BranchPrefix + "branch2",
BranchPrefix + "master",
TagPrefix + "test",
+ NotesRef,
}
for _, ref := range refs {