stretchr/testify

Colorize "expected" and "actual"

Open

#946 建立於 2020年5月13日

在 GitHub 查看
 (8 留言) (45 反應) (0 負責人)Go (1,704 fork)batch import
enhancementenhancement: colored outputhelp wanted

倉庫指標

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

描述

Can we have an option to colorize "expected" and "actual" in test output? Like this: Screenshot from 2020-05-13 18-27-59

0_ZTerrO_akuDWSV8h

For me the colors helps because it allows me to locate the diff faster. This kind of coloring is very common in Node.js test frameworks.

貢獻者指南