New assertion: should.WrapError

ShouldWrap asserts that the first argument (which must be an error
value) 'wraps' the second/final argument (which must also be an error
value). It relies on errors.Is to make the determination.

See https://golang.org/pkg/errors/#Is
4 files changed