Skip to content

Commit 7465fd1

Browse files
committed
1 parent c69e092 commit 7465fd1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

core/string/shared/slice.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,11 @@
122122
platform_is pointer_size: 64 do
123123
it "returns nil if the length is negative big value" do
124124
"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
125128
"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
129+
#"hello there".send(@method, 4, -(1 << 63)).should == nil
128130
end
129131
end
130132

0 commit comments

Comments
 (0)