We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7f61f commit 3c5c4caCopy full SHA for 3c5c4ca
fmttests/format_error_test.go
@@ -56,7 +56,10 @@ Error types: (1) *errbase.errorFormatter (2) *errors.errorString`
56
// Regression test.
57
f := &fmtWrap{err}
58
tt.CheckEqual(string(redact.Sprintf("%v", f)), sm+`hello`+em)
59
- tt.CheckEqual(string(redact.Sprintf("%+v", f)), sm+`hello`+em)
+ expected = sm + `hello` + em + `
60
+` + sm + `(1) hello` + em + `
61
+` + sm + `Error types: (1) *errors.errorString` + em
62
+ tt.CheckEqual(string(redact.Sprintf("%+v", f)), expected)
63
64
// Regression test 2.
65
f2 := &fmter{}
0 commit comments