1
0
Fork 0
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:
Nobuyoshi Nakada 2020-05-03 14:34:46 +09:00
parent cc6afff006
commit 8af098b40e
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
2 changed files with 18 additions and 11 deletions

View file

@ -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