mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Fix name of parallel array assignement test
There are two variables and just one value, so I think `test_parallel_assignments_with_too_few_values` is a better name.
This commit is contained in:
@@ -24,7 +24,7 @@ class AboutArrayAssignment < Neo::Koan
|
|||||||
assert_equal __(["Smith","III"]), last_name
|
assert_equal __(["Smith","III"]), last_name
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_parallel_assignments_with_too_few_variables
|
def test_parallel_assignments_with_too_few_values
|
||||||
first_name, last_name = ["Cher"]
|
first_name, last_name = ["Cher"]
|
||||||
assert_equal __("Cher"), first_name
|
assert_equal __("Cher"), first_name
|
||||||
assert_equal __(nil), last_name
|
assert_equal __(nil), last_name
|
||||||
|
|||||||
Reference in New Issue
Block a user