Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 43dea1d68668
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 478b9c605628
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Jul 12, 2015

  1. Update to latest RubySpec

    vais committed Jul 12, 2015
    Copy the full SHA
    04f44c0 View commit details
  2. Merge pull request #999 from vais/rubyspec

    Update to latest RubySpec
    elia committed Jul 12, 2015

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    478b9c6 View commit details
Showing with 7 additions and 2 deletions.
  1. +5 −0 spec/filters/unsupported/fixnum.rb
  2. +1 −1 spec/rubyspec
  3. +1 −1 test/cruby
5 changes: 5 additions & 0 deletions spec/filters/unsupported/fixnum.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
opal_filter "Fixnum" do
fails "Fixnum#+ overflows to Bignum when the result does not fit in Fixnum"
fails "Fixnum#- returns a Bignum only if the result is too large to be a Fixnum"
fails "Fixnum#<< with n << m returns 0 when m < 0 and m == p where 2**p > n >= 2**(p-1)"
fails "Fixnum#<< with n << m returns 0 when m < 0 and m is a Bignum"
fails "Fixnum#<< with n << m returns a Bignum == fixnum_max * 2 when fixnum_max << 1 and n > 0"
fails "Fixnum#<< with n << m returns a Bignum == fixnum_max() * 2 when fixnum_max() << 1 and n > 0"
fails "Fixnum#<< with n << m returns a Bignum == fixnum_min * 2 when fixnum_min << 1 and n < 0"
fails "Fixnum#<< with n << m returns a Bignum == fixnum_min() * 2 when fixnum_min() << 1 and n < 0"
fails "Fixnum#>> with n >> m returns 0 when m is a Bignum"
fails "Fixnum#>> with n >> m returns a Bignum == fixnum_max * 2 when fixnum_max >> -1 and n > 0"
fails "Fixnum#>> with n >> m returns a Bignum == fixnum_max() * 2 when fixnum_max() >> -1 and n > 0"
fails "Fixnum#>> with n >> m returns a Bignum == fixnum_min * 2 when fixnum_min >> -1 and n < 0"
fails "Fixnum#>> with n >> m returns a Bignum == fixnum_min() * 2 when fixnum_min() >> -1 and n < 0"
end
2 changes: 1 addition & 1 deletion spec/rubyspec
2 changes: 1 addition & 1 deletion test/cruby
Submodule cruby updated 6 files
+5 −0 ChangeLog
+3 −1 common.mk
+10 −1 file.c
+14 −0 test/ruby/test_require.rb
+1 −1 version.h
+11 −3 win32/file.c