We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab35541 commit 44407c0Copy full SHA for 44407c0
spec/sort_spec.rb
@@ -15,7 +15,7 @@
15
16
it "should work for a container of size 1" do
17
one_array = [1]
18
- @sorts.each { |sort| Sort.send(sort, one_array).should eql(one_array) }
+ @sorts.each { |sort| Sort.send(sort, one_array).should eql([1]) }
19
end
20
21
it "should work for random arrays of numbers" do
@@ -26,4 +26,4 @@
26
@sorts.each { |sort| Sort.send(sort, rand_array.dup).should eql(sorted_array) }
27
28
29
-end
+end
0 commit comments