mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use Integer instead of Fixnum/Bignum
This commit is contained in:
parent
fb8f011422
commit
9c73c75624
144 changed files with 392 additions and 390 deletions
|
@ -13,7 +13,7 @@ describe "IO.sysopen" do
|
|||
|
||||
it "returns the file descriptor for a given path" do
|
||||
@fd = IO.sysopen(@filename, "w")
|
||||
@fd.should be_kind_of(Fixnum)
|
||||
@fd.should be_kind_of(Integer)
|
||||
@fd.should_not equal(0)
|
||||
end
|
||||
|
||||
|
@ -21,7 +21,7 @@ describe "IO.sysopen" do
|
|||
platform_is_not :windows do
|
||||
it "works on directories" do
|
||||
@fd = IO.sysopen(tmp("")) # /tmp
|
||||
@fd.should be_kind_of(Fixnum)
|
||||
@fd.should be_kind_of(Integer)
|
||||
@fd.should_not equal(0)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue