提交 94e8afa2 编写于 作者: P Petr Baudis 提交者: Petr Baudis

Try to make test output look better

NO changed to FAIL and ok was right-aligned with it so that it is easier
to visually identify the failed tests, and the removal of # should reduce
the clutter on the line and aid the eye to spot the test number better.
上级 d6928ebd
......@@ -76,13 +76,13 @@ test_debug () {
test_ok () {
test_count=$(expr "$test_count" + 1)
say "ok #$test_count: $@"
say " ok $test_count: $@"
}
test_failure () {
test_count=$(expr "$test_count" + 1)
test_failure=$(expr "$test_failure" + 1);
say "NO #$test_count: $@"
say "FAIL $test_count: $@"
}
test_expect_failure () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册