We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 289ef1c commit 21c47d4Copy full SHA for 21c47d4
modules/git/notes_test.go
@@ -47,5 +47,5 @@ func TestGetNonExistentNotes(t *testing.T) {
47
note := Note{}
48
err = GetNote(t.Context(), bareRepo1, "non_existent_sha", ¬e)
49
assert.Error(t, err)
50
- assert.ErrorAs(t, err, ErrNotExist{})
+ assert.ErrorAs(t, err, &ErrNotExist{})
51
}
0 commit comments