Merge pull request #2946 from jjmengze/patch-1

fix typo
This commit is contained in:
Thomas Boerger 2020-03-21 23:51:26 +01:00 committed by GitHub
commit 3e8a857ba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -410,7 +410,7 @@ func TestCheckWriteAccess_InactiveUser(t *testing.T) {
router.Route("/api/repos/{owner}/{name}", func(router chi.Router) {
router.Use(CheckWriteAccess())
router.Get("/", func(w http.ResponseWriter, r *http.Request) {
t.Error("should not invoke hanlder")
t.Error("should not invoke handler")
})
})