Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 326f4a4

Browse files
committed
Merge pull request #5 from umairidris/master
gofmt and typo fix
2 parents d363daa + c94cbce commit 326f4a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
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
//

errors_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)