Skip to content

Commit

Permalink
Reword String test
Browse files Browse the repository at this point in the history
  • Loading branch information
kdwinter committed Apr 11, 2010
1 parent c1cb56b commit 1db6a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/support_test.rb
Expand Up @@ -28,11 +28,11 @@ class SupportTest < Test::Unit::TestCase
end

context 'String' do
should 'be able to colorize itself through the ansi library' do
should 'be able to colorize itself' do
String::COLORS.each_with_index do |color, i|
str = 'foo'
assert str.colorize(color)
assert_equal "\e[0;#{30+i}mfoo\e[0m", str.colorize(color)
assert_equal "\e[0;#{30+i}m#{str}\e[0m", str.colorize(color)
end
end
end
Expand Down

0 comments on commit 1db6a7f

Please sign in to comment.