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 a54c6ca commit c69e092Copy full SHA for c69e092
1 file changed
core/string/shared/slice.rb
@@ -122,6 +122,8 @@
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 << 61)).should == nil
126
+ "hello there".send(@method, 4, -(1 << 62)).should == nil
127
"hello there".send(@method, 4, -(1 << 63)).should == nil
128
end
129
0 commit comments