mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show unreserved bits only
`RUBY_FL_SEEN_OBJ_ID` can be set by #object_id.
This commit is contained in:
parent
cc6afff006
commit
8af098b40e
2 changed files with 18 additions and 11 deletions
|
@ -57,7 +57,6 @@ describe :rbasic, shared: true do
|
|||
it "supports user flags" do
|
||||
obj, _ = @data.call
|
||||
initial = @specs.get_flags(obj)
|
||||
initial.should_not == 0
|
||||
@specs.set_flags(obj, 1 << 14 | 1 << 16 | initial).should == 1 << 14 | 1 << 16 | initial
|
||||
@specs.get_flags(obj).should == 1 << 14 | 1 << 16 | initial
|
||||
@specs.set_flags(obj, initial).should == initial
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue