File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727// Retrieving the cause of an error
2828//
2929// Using errors.Wrap constructs a stack of errors, adding context to the
30- // preceeding error. Depending on the nature of the error it may be necessary
30+ // preceding error. Depending on the nature of the error it may be necessary
3131// to recerse the operation of errors.Wrap to retrieve the original error
3232// for inspection. Any error value which implements this interface
3333//
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ func TestNew(t *testing.T) {
1717 {"" , fmt .Errorf ("" )},
1818 {"foo" , fmt .Errorf ("foo" )},
1919 {"foo" , New ("foo" )},
20- {"string with format specifiers: %v" , errors .New ("string with format specifiers: %v" )},
20+ {"string with format specifiers: %v" , errors .New ("string with format specifiers: %v" )},
2121 }
2222
2323 for _ , tt := range tests {
You can’t perform that action at this time.
0 commit comments