Skip to content

Commit 7d83c9b

Browse files
author
Baptiste Boussemart
committed
fix
1 parent ff3d108 commit 7d83c9b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

errors_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ func TestUnwrap(t *testing.T) {
7272
}
7373
}
7474

75-
type nilError struct{}
75+
/*type nilError struct{}
7676
7777
func (nilError) Error() string { return "nil error" }
7878
79-
/*func TestCause(t *testing.T) {
79+
func TestCause(t *testing.T) {
8080
x := New("error")
8181
tests := []struct {
8282
err error

format_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,10 +516,10 @@ func testFormatCompleteCompare(t *testing.T, n int, arg interface{}, format stri
516516
}
517517
}
518518

519-
type wrapper struct {
519+
/*type wrapper struct {
520520
wrap func(err error) error
521521
want []string
522-
}
522+
}*/
523523

524524
func prettyBlocks(blocks []string) string {
525525
var out []string

stack_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func TestStackTrace(t *testing.T) {
139139
"github.com/objenious/errors.TestStackTrace\n" +
140140
"\t.+/github.com/objenious/errors/stack_test.go:136", // this is the stack of New's caller
141141
},
142-
/*}, {
142+
/*}, {
143143
goerrors.Unwrap(func() error {
144144
return func() error {
145145
return Errorf("hello %s", "world")

0 commit comments

Comments
 (0)