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 c69e092 commit 7465fd1Copy full SHA for 7465fd1
1 file changed
core/string/shared/slice.rb
@@ -122,9 +122,11 @@
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 << 40)).should == nil
126
+ "hello there".send(@method, 4, -(1 << 50)).should == nil
127
+ "hello there".send(@method, 4, -(1 << 55)).should == nil
128
"hello there".send(@method, 4, -(1 << 61)).should == nil
- "hello there".send(@method, 4, -(1 << 62)).should == nil
- "hello there".send(@method, 4, -(1 << 63)).should == nil
129
+ #"hello there".send(@method, 4, -(1 << 63)).should == nil
130
end
131
132
0 commit comments