Skip to content

Commit

Permalink
Fix typos in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Nov 13, 2011
1 parent c15b530 commit c6a504d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rainbow_test.rb
Expand Up @@ -225,13 +225,13 @@ def test_by_hex_min_with_sharp

### RGB color

def test_to_few_colors
def test_too_few_colors
assert_raises ArgumentError do
AnsiColor.new(:foreground, 255, 0).code
end
end

def test_to_much_colors
def test_too_much_colors
assert_raises ArgumentError do
AnsiColor.new(:foreground, 255, 0, 0, 0).code
end
Expand Down

0 comments on commit c6a504d

Please sign in to comment.