Permalink
Browse files

Added missing __ replacements

  • Loading branch information...
1 parent e24d94e commit 7dee146a8c2087247bf8562d7d8e9727e3021758 @jimweirich jimweirich committed Sep 28, 2010
Showing with 4 additions and 4 deletions.
  1. +2 −2 koans/about_array_assignment.rb
  2. +2 −2 src/about_array_assignment.rb
@@ -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
@@ -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

0 comments on commit 7dee146

Please sign in to comment.