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: 595d87a7de51
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0358bcc6ac48
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 29, 2015

  1. Copy the full SHA
    f149501 View commit details
  2. [Truffle] New spec tag.

    eregon committed Sep 29, 2015
    Copy the full SHA
    0358bcc View commit details
Showing with 2 additions and 1 deletion.
  1. +1 −1 spec/ruby/core/binding/local_variables_spec.rb
  2. +1 −0 spec/truffle/tags/core/binding/local_variables_tags.txt
2 changes: 1 addition & 1 deletion spec/ruby/core/binding/local_variables_spec.rb
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@

it "includes shadowed local variables only once" do
a = 1
proc { a = 2; binding.local_variables }.call.should == [:a]
proc { |a| binding.local_variables }.call(2).should == [:a]
end

it "includes new variables defined in the binding" do
1 change: 1 addition & 0 deletions spec/truffle/tags/core/binding/local_variables_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Binding#local_variables includes shadowed local variables only once