Created
January 25, 2016 15:42
-
-
Save walm/ec871dbedc1628d9b1be to your computer and use it in GitHub Desktop.
go test with color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go test -v ./... | \ | |
sed ''/PASS/s//$$(printf "\033[32mPASS\033[0m")/'' | \ | |
sed ''/SKIP/s//$$(printf "\033[34mSKIP\033[0m")/'' | \ | |
sed ''/FAIL/s//$$(printf "\033[31mFAIL\033[0m")/'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment