Skip to content

Commit c69e092

Browse files
committed
1 parent a54c6ca commit c69e092

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/string/shared/slice.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@
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 << 61)).should == nil
126+
"hello there".send(@method, 4, -(1 << 62)).should == nil
125127
"hello there".send(@method, 4, -(1 << 63)).should == nil
126128
end
127129
end

0 commit comments

Comments
 (0)