stretchr/testify

Equal diff prints uints in hex format

Open

#400 建立於 2017年2月14日

在 GitHub 查看
 (5 留言) (13 反應) (0 負責人)Go (1,704 fork)batch import
assert.EqualValuesenhancementenhancement: output formathelp wantedpkg-assertrevisit

倉庫指標

Star
 (25,958 star)
PR 合併指標
 (平均合併 6天 15小時) (30 天內合併 2 個 PR)

描述

Equal and EqualValues print uints in hex format when showing diff. It would be much more useful to see 1701, instead of 0x6a5.

Error Trace:    equality_test:34
        Error:          Not equal:
                        expected: float64(1700)
                        received: uint(0x6a5)
        Messages:       Expecting prices to be equal

貢獻者指南