diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-01 01:12:31 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-01 01:12:31 +0000 |
commit | 54fd6de064142633f3bb592b0bd6486d262cd2b2 (patch) | |
tree | c86d22ef1ed214ecc725f261aa313993e08d041d /lib/minitest/pride.rb | |
parent | 22b2c638553c26e265a88a6b68ec31d132361ec7 (diff) | |
download | ruby-54fd6de064142633f3bb592b0bd6486d262cd2b2.tar.gz |
Revert r29986: "Imported minitest 2.0.0 r5952"
This breaks test-all:
* two test-all errors (test_run_passing and test_run_failing_filtered).
* -v option to test-all is ignored
Additional to say, please describe summary of the change when you
import from external repository.
And, RUN test-all BEFORE COMMIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/minitest/pride.rb')
-rw-r--r-- | lib/minitest/pride.rb | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/lib/minitest/pride.rb b/lib/minitest/pride.rb deleted file mode 100644 index 3cb4e1564c..0000000000 --- a/lib/minitest/pride.rb +++ /dev/null @@ -1,41 +0,0 @@ -############################################################ -# This file is imported from a different project. -# DO NOT make modifications in this repo. -# File a patch instead and assign it to Ryan Davis -############################################################ - -require "minitest/unit" - -## -# Show your testing pride! - -class PrideIO - attr_reader :io - - # stolen from /System/Library/Perl/5.10.0/Term/ANSIColor.pm - COLORS = (31..36).to_a - CHARS = ["*"] - - def initialize io - @io = io - @colors = COLORS.cycle - @chars = CHARS.cycle - end - - def print o - case o - when "." then - io.print "\e[#{@colors.next}m#{@chars.next}\e[0m" - when "E", "F" then - io.print "\e[41m\e[37m#{o}\e[0m" - else - io.print o - end - end - - def method_missing msg, *args - io.send(msg, *args) - end -end - -MiniTest::Unit.output = PrideIO.new(MiniTest::Unit.output) |