Skip to content

Commit

Permalink
Renamed if test to avoid method name conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Jan 15, 2010
1 parent 6c69bcb commit ec6458e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/about_control_statements.rb
Expand Up @@ -8,10 +8,10 @@ def test_if_then_else_statements
else
result = :false_value
end
assert_equal __, result
assert_equal __(:true_value), result
end

def test_if_then_else_statements
def test_if_then_statements
result = :default_value
if true
result = :true_value
Expand Down

0 comments on commit ec6458e

Please sign in to comment.