Skip to content

Commit 599fcfa

Browse files
committed
1 parent 0467bab commit 599fcfa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

core/string/shared/slice.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,9 @@
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 << 32)).should == nil
126+
"hello there".send(@method, 4, -(1 << 33)).should == nil
125127
"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
129128
#"hello there".send(@method, 4, -(1 << 63)).should == nil
130129
end
131130
end

0 commit comments

Comments
 (0)