Skip to content

Commit 9058862

Browse files
committed
Remove duplicate of "returns self" test
Line 26-29 had the exact same test.
1 parent 9243969 commit 9058862

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/io/shared/each.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
$_.should == "test"
3434
end
3535

36-
it "returns self" do
37-
@io.send(@method) { |l| l }.should equal(@io)
38-
end
39-
4036
it "raises an IOError when self is not readable" do
4137
-> { IOSpecs.closed_io.send(@method) {} }.should raise_error(IOError)
4238
end

0 commit comments

Comments
 (0)