Skip to content

Commit

Permalink
+ Make minitest/pride work with other 256 color capable terms. (sunaku)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/minitest/dev/": change = 6720]
  • Loading branch information
zenspider committed Oct 25, 2011
1 parent 5bf6342 commit 0a4be84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest/pride.rb
Expand Up @@ -89,5 +89,5 @@ def pride string
end
end

klass = ENV['TERM'] =~ /^xterm(-256color)?$/ ? PrideLOL : PrideIO
klass = ENV['TERM'] =~ /^xterm|-256color$/ ? PrideLOL : PrideIO
MiniTest::Unit.output = klass.new(MiniTest::Unit.output)

0 comments on commit 0a4be84

Please sign in to comment.