ITADN

tests: log value of IsTerminal

#86Pull Requestdolmen 创建于 2023-03-15
D
dolmencommented
Just log the result of `IsTerminal` in `TestTerminal`: ```console $ go test -v -run TestTerminal === RUN TestTerminal isatty_others_test.go:13: os.Stdout: true --- PASS: TestTerminal (0.00s) PASS ok github.com/mattn/go-isatty 0.160s $ go test -v -run TestTerminal | cat === RUN TestTerminal isatty_others_test.go:13: os.Stdout: false --- PASS: TestTerminal (0.00s) PASS ok github.com/mattn/go-isatty 0.203s ```
合并状态:未合并 关闭于 2023-03-22 2 条评论