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
|
@ -1,10 +1,10 @@
|
|||
require_relative '../../spec_helper'
|
||||
|
||||
describe "Regexp#options" do
|
||||
it "returns a Fixnum bitvector of regexp options for the Regexp object" do
|
||||
/cat/.options.should be_kind_of(Fixnum)
|
||||
it "returns an Integer bitvector of regexp options for the Regexp object" do
|
||||
/cat/.options.should be_kind_of(Integer)
|
||||
not_supported_on :opal do
|
||||
/cat/ix.options.should be_kind_of(Fixnum)
|
||||
/cat/ix.options.should be_kind_of(Integer)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue