diff --git a/errors.go b/errors.go index 01a0ec7..cbe07f5 100644 --- a/errors.go +++ b/errors.go @@ -27,7 +27,7 @@ // Retrieving the cause of an error // // Using errors.Wrap constructs a stack of errors, adding context to the -// preceeding error. Depending on the nature of the error it may be necessary +// preceding error. Depending on the nature of the error it may be necessary // to recerse the operation of errors.Wrap to retrieve the original error // for inspection. Any error value which implements this interface // diff --git a/errors_test.go b/errors_test.go index 889a36f..5eed1d5 100644 --- a/errors_test.go +++ b/errors_test.go @@ -17,7 +17,7 @@ func TestNew(t *testing.T) { {"", fmt.Errorf("")}, {"foo", fmt.Errorf("foo")}, {"foo", New("foo")}, - {"string with format specifiers: %v", errors.New("string with format specifiers: %v")}, + {"string with format specifiers: %v", errors.New("string with format specifiers: %v")}, } for _, tt := range tests {