diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-05-03 14:34:46 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-05-03 14:36:56 +0900 |
commit | 8af098b40ee3788f3d13f02298eeecfb52fa0c16 (patch) | |
tree | 32bd09f472459fc13137c305d5e33d8595357f37 /spec/ruby/optional/capi/shared/rbasic.rb | |
parent | cc6afff006760768feed4d2646a9af1dede4fca6 (diff) |
Show unreserved bits only
`RUBY_FL_SEEN_OBJ_ID` can be set by #object_id.
Diffstat (limited to 'spec/ruby/optional/capi/shared/rbasic.rb')
-rw-r--r-- | spec/ruby/optional/capi/shared/rbasic.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/ruby/optional/capi/shared/rbasic.rb b/spec/ruby/optional/capi/shared/rbasic.rb index c58fa0c787..40761122ef 100644 --- a/spec/ruby/optional/capi/shared/rbasic.rb +++ b/spec/ruby/optional/capi/shared/rbasic.rb @@ -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 |