mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-14 23:13:20 -04:00
Removed duplicated array assignment tests from about_arrays.rb which are also in about_array_assignment.rb
This commit is contained in:
@@ -80,22 +80,4 @@ class AboutArrays < EdgeCase::Koan
|
||||
assert_equal __, array
|
||||
end
|
||||
|
||||
def test_parallel_assignments
|
||||
first_name, last_name = ["John", "Smith"]
|
||||
assert_equal __, first_name
|
||||
assert_equal __, last_name
|
||||
end
|
||||
|
||||
def test_parallel_assignments_with_extra_values
|
||||
first_name, last_name = ["John", "Smith", "III"]
|
||||
assert_equal __, first_name
|
||||
assert_equal __, last_name
|
||||
end
|
||||
|
||||
def test_parallel_assignments_with_extra_variables
|
||||
first_name, last_name = ["Cher"]
|
||||
assert_equal __, first_name
|
||||
assert_equal __, last_name
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user