[pkg-go] Bug#1008443: golang-github-smartystreets-assertions: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/smartystreets/assertions github.com/smartystreets/assertions/assert github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch github.com/smartystreets/assertions/internal/go-render/render github.com/smartystreets/assertions/internal/unit github.com/smartystreets/assertions/should returned exit code 1

Shengjing Zhu zhsj at debian.org
Sat May 14 08:42:14 BST 2022

Control: forward -1 https://github.com/smartystreets/assertions/issues/47

On Fri, May 13, 2022 at 11:06 PM Drew Parsons <dparsons at debian.org> wrote:
> Source: golang-github-smartystreets-assertions
> Version: 1.10.1+ds-1
> Followup-For: Bug #1008443
> The problem passing tests is still there with smartystreets-assertions
> 0.13.0 (building with golang 1.18)

This is indeed a regression from golang-1.18.

The Value.InterfaceData[1] in the reflect package returns a different value now.
So it caused a different sorting result for interface type.[2]

I have created an issue for upstream now.

[1] https://pkg.go.dev/reflect#Value.InterfaceData
[2] https://github.com/smartystreets/assertions/blob/751d45e3/internal/go-render/render/render.go#L418

Shengjing Zhu

More information about the Pkg-go-maintainers mailing list