Skip to content

Commit

Permalink
Added missing __ replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Sep 28, 2010
1 parent e24d94e commit 7dee146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions koans/about_array_assignment.rb
Expand Up @@ -20,8 +20,8 @@ def test_parallel_assignments_with_extra_values

def test_parallel_assignments_with_splat_operator
first_name, *last_name = ["John", "Smith", "III"]
assert_equal "John", first_name
assert_equal ["Smith","III"], last_name
assert_equal __, first_name
assert_equal __, last_name
end

def test_parallel_assignments_with_too_few_variables
Expand Down
4 changes: 2 additions & 2 deletions src/about_array_assignment.rb
Expand Up @@ -20,8 +20,8 @@ def test_parallel_assignments_with_extra_values

def test_parallel_assignments_with_splat_operator
first_name, *last_name = ["John", "Smith", "III"]
assert_equal "John", first_name
assert_equal ["Smith","III"], last_name
assert_equal __("John"), first_name
assert_equal __(["Smith","III"]), last_name
end

def test_parallel_assignments_with_too_few_variables
Expand Down

0 comments on commit 7dee146

Please sign in to comment.