Created
May 9, 2011 19:35
-
-
Save trans/963219 to your computer and use it in GitHub Desktop.
If only you could see the 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
| trans@logisys:ansi$ redline test | |
| ANSI v1.2.6 /home/trans/Documents/programs/github.com/rubyworks/ansi | |
| qed Test | |
| Started | |
| ..............................I, [2011-05-09T15:32:44.350689 #15187] INFO -- : Info logs are green. | |
| ..W, [2011-05-09T15:32:44.351299 #15187] WARN -- : Warn logs are yellow. | |
| ..D, [2011-05-09T15:32:44.351783 #15187] DEBUG -- : Debug logs are cyan. | |
| ..E, [2011-05-09T15:32:44.352238 #15187] ERROR -- : Error logs are red. | |
| ..F, [2011-05-09T15:32:44.352707 #15187] FATAL -- : Fatal logs are bold red! | |
| .....Test Bar: 1% |o | ETA: 00:0Test Bar: 100% |oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo| Time: 00:00:01 | |
| ......Test Bar: 2% ETA: 00:00:51 |oo Test Bar: 100% Time: 00:00:02 |oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo| | |
| ..Test Bar: 2% |o | 2B 0B/s ETA: 00:01:4Test Bar: 100% |oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo| 100B 32B/s Time: 00:00:03 | |
| ....Test Bar: 2% |== | ETA: 00:02Test Bar: 100% |=============================================================================================================| Time: 00:00:04 | |
| .....................................................F. | |
| Finished in 4.20436 seconds. | |
| ***** FAIL ***** | |
| (assertion) a == b | |
| a) "+----+----+----+\n| 10\e[0m | 20\e[0m | 20\e[0m | 30\e[0m |\n| 20\e[0m | 10\e[0m | 10\e[0m | 20\e[0m |\n| 50\e[0m | 40\e[0m | 40\e[0m | 20\e[0m |\n+----+----+----+" | |
| b) "+----+----+----+\n| 10 | 20 | 30 |\n| 20 | 10 | 20 |\n| 50n| 20 | 10 | 20 |\n| 50 | 40 | 20 |\n+----+----+----+" | |
| :/home/trans/Documents/programs/github.com/rubyworks/ansi/qed/applique/output.rb:3:in `initialize': | |
| 1 When "output will be" do |text| | |
| 2 # how to get result of last block? | |
| => 3 @_.strip.assert == text.strip | |
| 4 end | |
| 5 | |
| 8 demos, 102 steps: 1 failures, 0 errors (32/33 assertions) | |
| Finished in 4.656781 seconds. | |
| [2]+ Done gedit .redfile/test.redfile | |
| trans@logisys:ansi$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment