Skip to content

Commit

Permalink
Merge pull request #111 from knz/20230612-update-redact
Browse files Browse the repository at this point in the history
Update the redact dependency.
  • Loading branch information
knz authored Jun 12, 2023
2 parents f6b9c79 + 273bb30 commit a95e895
Show file tree
Hide file tree
Showing 15 changed files with 505 additions and 505 deletions.
28 changes: 14 additions & 14 deletions fmttests/testdata/format/leaves
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Error types: (1) *fmttests.errFmt
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v
‹oneline›
(1) ‹oneline›‹›
(1) ‹oneline›
‹ | twoline›
‹ | -- this is oneline›
‹ | twoline's›
Expand All @@ -346,7 +346,7 @@ Error types: (1) *fmttests.errFmt
=====
== Message payload
×
(1) ××
(1) ×
×
×
×
Expand Down Expand Up @@ -412,15 +412,15 @@ Error types: (1) *fmttests.errFmto
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v via Formattable()
‹oneline›
(1) ‹oneline›‹›
(1) ‹oneline›
‹ | twoline›
Error types: (1) *fmttests.errFmto
=====
===== Sentry reporting
=====
== Message payload
×
(1) ××
(1) ×
×
Error types: (1) *fmttests.errFmto
-- report composition:
Expand Down Expand Up @@ -483,15 +483,15 @@ Error types: (1) *fmttests.errFmtoDelegate
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v via Formattable()
‹oneline›
(1) ‹oneline›‹›
(1) ‹oneline›
‹ | twoline›
Error types: (1) *fmttests.errFmtoDelegate
=====
===== Sentry reporting
=====
== Message payload
×
(1) ××
(1) ×
×
Error types: (1) *fmttests.errFmtoDelegate
-- report composition:
Expand Down Expand Up @@ -545,15 +545,15 @@ Error types: (1) *fmttests.errFmtp
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v
‹oneline›
(1) ‹oneline›‹›
(1) ‹oneline›
‹ | twoline›
Error types: (1) *fmttests.errFmtp
=====
===== Sentry reporting
=====
== Message payload
×
(1) ××
(1) ×
×
Error types: (1) *fmttests.errFmtp
-- report composition:
Expand Down Expand Up @@ -610,15 +610,15 @@ Error types: (1) *errors.errorString
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v via Formattable()
‹oneline›
(1) ‹oneline›‹›
(1) ‹oneline›
‹ | twoline›
Error types: (1) *errors.errorString
=====
===== Sentry reporting
=====
== Message payload
×
(1) ××
(1) ×
×
Error types: (1) *errors.errorString
-- report composition:
Expand Down Expand Up @@ -1118,15 +1118,15 @@ Error types: (1) *fmttests.errNoFmt
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v via Formattable()
‹oneline›
(1) ‹oneline›‹›
(1) ‹oneline›
‹ | twoline›
Error types: (1) *fmttests.errNoFmt
=====
===== Sentry reporting
=====
== Message payload
×
(1) ××
(1) ×
×
Error types: (1) *fmttests.errNoFmt
-- report composition:
Expand Down Expand Up @@ -1525,7 +1525,7 @@ Error types: (1) *errors.fundamental
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v via Formattable()
‹oneline›
(1) ‹oneline›‹›
(1) ‹oneline›
‹ | twoline›
-- stack trace:
| github.com/cockroachdb/errors/fmttests.glob...funcNN...
Expand Down Expand Up @@ -1558,7 +1558,7 @@ Error types: (1) *errors.fundamental
=====
== Message payload
<path>:<lineno>: ×
(1) ××
(1) ×
×
-- stack trace:
| github.com/cockroachdb/errors/fmttests.glob...funcNN...
Expand Down
4 changes: 2 additions & 2 deletions fmttests/testdata/format/leaves-via-network
Original file line number Diff line number Diff line change
Expand Up @@ -718,15 +718,15 @@ Error types: (1) *errors.errorString
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v via Formattable()
‹oneline›
(1) ‹oneline›‹›
(1) ‹oneline›
‹ | twoline›
Error types: (1) *errors.errorString
=====
===== Sentry reporting
=====
== Message payload
×
(1) ××
(1) ×
×
Error types: (1) *errors.errorString
-- report composition:
Expand Down
12 changes: 6 additions & 6 deletions fmttests/testdata/format/opaque
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueLeaf
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v
‹outer›: ‹inner›
(1) ‹outer›‹›
(1) ‹outer›
‹ | outer2ndline›
‹ | -- this is outer›
‹ | outer2ndline's›
Expand All @@ -174,7 +174,7 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueLeaf
=====
== Message payload
×: ×
(1) ××
(1) ×
×
×
×
Expand Down Expand Up @@ -420,7 +420,7 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueWrapper (3) *errbase.opaqu
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v
‹outer›: ‹middle›: ‹inner›
(1) ‹outer›‹›
(1) ‹outer›
‹ | outer2ndline›
‹ | -- this is outer›
‹ | outer2ndline's›
Expand All @@ -441,7 +441,7 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueWrapper (3) *errbase.opaqu
=====
== Message payload
×: ×: ×
(1) ××
(1) ×
×
×
×
Expand Down Expand Up @@ -758,7 +758,7 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueWrapper (3) *errbase.opaqu
== printed via redact Printf() %X, refused - good
== printed via redact Printf() %+v, ok - congruent with %+v
‹extern›: ‹outer›: ‹middle›: ‹inner›
(1) ‹extern›‹›
(1) ‹extern›
‹ | extern2ndline›
‹ | -- this is extern›
‹ | extern2ndline's›
Expand All @@ -784,7 +784,7 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueWrapper (3) *errbase.opaqu
=====
== Message payload
×: ×: ×: ×
(1) ××
(1) ×
×
×
×
Expand Down
Loading

0 comments on commit a95e895

Please sign in to comment.