diff options
Diffstat (limited to 'spec/ruby/core/fixnum/size_spec.rb')
-rw-r--r-- | spec/ruby/core/fixnum/size_spec.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/ruby/core/fixnum/size_spec.rb b/spec/ruby/core/fixnum/size_spec.rb deleted file mode 100644 index f973d446ed..0000000000 --- a/spec/ruby/core/fixnum/size_spec.rb +++ /dev/null @@ -1,19 +0,0 @@ -require File.expand_path('../../../spec_helper', __FILE__) - -describe "Fixnum#size" do - platform_is wordsize: 32 do - it "returns the number of bytes in the machine representation of self" do - -1.size.should == 4 - 0.size.should == 4 - 4091.size.should == 4 - end - end - - platform_is wordsize: 64 do - it "returns the number of bytes in the machine representation of self" do - -1.size.should == 8 - 0.size.should == 8 - 4091.size.should == 8 - end - end -end |