diff --git a/core/io/read_spec.rb b/core/io/read_spec.rb index db11468ea..b37c6c712 100644 --- a/core/io/read_spec.rb +++ b/core/io/read_spec.rb @@ -331,7 +331,7 @@ @io.read(0).should == '' @io.pos.should == 0 - @io.getc.chr.should == '1' + @io.getc.should == '1' end it "is at end-of-file when everything has been read" do