Skip to content

Commit 21c47d4

Browse files
committed
pointer
1 parent 289ef1c commit 21c47d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/notes_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ func TestGetNonExistentNotes(t *testing.T) {
4747
note := Note{}
4848
err = GetNote(t.Context(), bareRepo1, "non_existent_sha", &note)
4949
assert.Error(t, err)
50-
assert.ErrorAs(t, err, ErrNotExist{})
50+
assert.ErrorAs(t, err, &ErrNotExist{})
5151
}

0 commit comments

Comments
 (0)