Created
April 6, 2010 22:54
-
-
Save kronos/358232 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/spec/ruby/core/fixnum/left_shift_spec.rb b/spec/ruby/core/fixnum/left_shift_spec.rb | |
| index 38b8bcf..8aa5d25 100644 | |
| --- a/spec/ruby/core/fixnum/left_shift_spec.rb | |
| +++ b/spec/ruby/core/fixnum/left_shift_spec.rb | |
| @@ -24,6 +24,7 @@ describe "Fixnum#<<" do | |
| it "coerces result on overflow and return self shifted left other bits" do | |
| (9 << 4.2).should == 144 | |
| (6 << 0xff).should == 347376267711948586270712955026063723559809953996921692118372752023739388919808 | |
| + (-4518325415524767873 << 32).should == -19406059892364488692526481408 | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment