mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 08:39:17 +08:00
chore: fix some comments (#690)
This commit is contained in:
@@ -182,7 +182,7 @@ func TestCheckScalrSignature(t *testing.T) {
|
||||
}
|
||||
valid, err := CheckScalrSignature(r, testCase.secret, false)
|
||||
if valid != testCase.ok {
|
||||
t.Errorf("failed to check scalr signature fot test case: %s\nexpected ok:%#v, got ok:%#v}",
|
||||
t.Errorf("failed to check scalr signature for test case: %s\nexpected ok:%#v, got ok:%#v}",
|
||||
testCase.description, testCase.ok, valid)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package middleware
|
||||
|
||||
// Derived from from the Goa project, MIT Licensed
|
||||
// Derived from the Goa project, MIT Licensed
|
||||
// https://github.com/goadesign/goa/blob/v3/http/middleware/debug.go
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user