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: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3faa63c329fe
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 47333a78172a
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Jun 5, 2015

  1. Fix bad Fixnum#- expectation.

    eregon committed Jun 5, 2015
    Copy the full SHA
    881b26d View commit details
  2. Copy the full SHA
    b2950ff View commit details
  3. Copy the full SHA
    47333a7 View commit details
2 changes: 1 addition & 1 deletion spec/ruby/core/fixnum/minus_spec.rb
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@

it "returns a Bignum only if the result is too large to be a Fixnum" do
(5 - 10).should be_an_instance_of Fixnum
(1 - bignum_value).should be_an_instance_of Bignum
(-1 - bignum_value).should be_an_instance_of Bignum

bignum_zero = bignum_value.coerce(0).first
(1 - bignum_zero).should be_an_instance_of Fixnum
1 change: 0 additions & 1 deletion spec/truffle/tags/core/fixnum/minus_tags.txt

This file was deleted.

4 changes: 4 additions & 0 deletions spec/truffle/tags/language/block_tags.txt
Original file line number Diff line number Diff line change
@@ -20,3 +20,7 @@ fails:Block-local variables override shadowed variables from the outer scope
fails:A block yielded a single Array treats hashes with symbol keys as keyword arguments
fails:A block yielded a single Array does not treat hashes with string keys as keyword arguments
fails:A block yielded a single Array calls #to_hash on the last element when there are more arguments than parameters
fails:A block yielded a single Array assigns symbol keys from a Hash to keyword arguments
fails:A block yielded a single Array assigns symbol keys from a Hash returned by #to_hash to keyword arguments
fails:A block yielded a single Array calls #to_hash on the argument but does not use the result when no keywords are present
fails:A block yielded a single Array assigns non-symbol keys to non-keyword arguments
11 changes: 11 additions & 0 deletions spec/truffle/tags/language/method_tags.txt
Original file line number Diff line number Diff line change
@@ -21,3 +21,14 @@ fails:"A method assigns local variables from method parameters for definition \n
fails:"A method assigns local variables from method parameters for definition \n def m(a, b=1, *c, (*d, (e)), f: 2, g:, h:, **k, &l)\n [a, b, c, d, e, f, g, h, k, l]\n end"
fails:"A method assigns local variables from method parameters for definition \n def m a, b=1, *c, d, e:, f: 2, g:, **k, &l\n [a, b, c, d, e, f, g, k, l]\n end"
fails:"A method assigns local variables from method parameters for definition \n def m(a = nil, **k) [a, k] end"
fails:"A method assigns local variables from method parameters for definition \n def m(a:) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(a=1, b:) [a, b] end"
fails:"A method assigns local variables from method parameters for definition \n def m(a=1, **) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(*, a:) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(*a, b:) [a, b] end"
fails:"A method assigns local variables from method parameters for definition \n def m(*, a: 1) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(*a, b: 1) [a, b] end"
fails:"A method assigns local variables from method parameters for definition \n def m(a:, b:) [a, b] end"
fails:"A method assigns local variables from method parameters for definition \n def m(a:, b: 1) [a, b] end"
fails:"A method assigns local variables from method parameters for definition \n def m(a:, **) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(a:, **k) [a, k] end"