Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing 'should' on array/transpose spec #3248

Closed
victornava opened this issue Dec 21, 2014 · 1 comment
Closed

Missing 'should' on array/transpose spec #3248

victornava opened this issue Dec 21, 2014 · 1 comment

Comments

@victornava
Copy link

Isn't there a missing 'should' on line (L31) of the array/transpose_spec.rb:

it "properly handles recursive arrays" do
  empty = ArraySpecs.empty_recursive_array
  empty.transpose.should == empty

  a = []; a << a
  b = []; b << b
  [a, b].transpose.should == [[a, b]]

  a = [1]; a << a
  b = [2]; b << b
  [a, b].transpose == [ [1, 2], [a, b] ] <----------
end

https://github.com/rubinius/rubinius/blob/master/spec/ruby/core/array/transpose_spec.rb#L31

@jc00ke jc00ke closed this as completed in d608aff Dec 21, 2014
@jc00ke
Copy link
Member

jc00ke commented Dec 21, 2014

Good catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants