We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0467bab commit 599fcfaCopy full SHA for 599fcfa
1 file changed
core/string/shared/slice.rb
@@ -122,10 +122,9 @@
122
platform_is pointer_size: 64 do
123
it "returns nil if the length is negative big value" do
124
"hello there".send(@method, 4, -(1 << 31)).should == nil
125
+ "hello there".send(@method, 4, -(1 << 32)).should == nil
126
+ "hello there".send(@method, 4, -(1 << 33)).should == nil
127
"hello there".send(@method, 4, -(1 << 40)).should == nil
- "hello there".send(@method, 4, -(1 << 50)).should == nil
- "hello there".send(@method, 4, -(1 << 55)).should == nil
128
- "hello there".send(@method, 4, -(1 << 61)).should == nil
129
#"hello there".send(@method, 4, -(1 << 63)).should == nil
130
end
131
0 commit comments