(t *testing.T)
| 69 | } |
| 70 | |
| 71 | func TestAdaptBaseGoJoinErr(t *testing.T) { |
| 72 | origErr := goErr.Join(goErr.New("hello"), goErr.New("world")) |
| 73 | t.Logf("start err: %# v", pretty.Formatter(origErr)) |
| 74 | |
| 75 | newErr := network(t, origErr) |
| 76 | |
| 77 | tt := testutils.T{T: t} |
| 78 | // The library preserves the error message. |
| 79 | tt.CheckEqual(newErr.Error(), origErr.Error()) |
| 80 | |
| 81 | } |
| 82 | |
| 83 | func TestAdaptGoMultiWrapErr(t *testing.T) { |
| 84 | origErr := fmt.Errorf("an error %w and also %w", goErr.New("hello"), goErr.New("world")) |
nothing calls this directly
no test coverage detected
searching dependent graphs…