Skip to content

Commit

Permalink
Merge pull request #13 from ericmathison/spec-fix
Browse files Browse the repository at this point in the history
Correct test's usage of non-square nested arrays
  • Loading branch information
JoshCheek committed Feb 26, 2014
2 parents 39e85fe + 6f2787b commit 2dd1168
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions session3/spec/5.rb
Expand Up @@ -22,9 +22,8 @@ def should_see(ary_of_arys, expected)
should_see [[1,2],[4,3]], [1,2,3,4]
end


it 'should yield 1,2,3,4,5,6 when given [[1,2,3],[8,9,4],[7,6,5]]' do
should_see [[1,2,3],[6,5,4]], [1,2,3,4,5,6]
it 'should yield 1,2,3,4,5,6,7,8,9 when given [[1,2,3],[8,9,4],[7,6,5]]' do
should_see [[1,2,3], [8,9,4], [7,6,5]], [1,2,3,4,5,6,7,8,9]
end

it 'should fit the example given in the notes' do
Expand Down

0 comments on commit 2dd1168

Please sign in to comment.