Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/compiler/general_spec.rb
Original file line number Diff line number Diff line change
@@ -334,7 +334,6 @@ def self.bar

it "compiles splatted values" do
run("def foo(a,b,c);[a,b,c];end;foo(1, *[2, 3])") {|result| expect(result).to eq([1,2,3]) }
run("class Coercible1;def to_ary;[2,3];end;end; [1, *Coercible1.new]") {|result| expect(result).to eq([1,2,3]) }
end

it "compiles multiple assignment" do

0 comments on commit 16dce38

Please sign in to comment.