chore: fix some comments (#690)

This commit is contained in:
yumeiyin 2024-05-27 02:11:05 +08:00 committed by GitHub
parent fc0623363a
commit d84cc5420b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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)
}

View file

@ -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 (