Skip to content

Commit

Permalink
Update pt_testcase: stabby lambda, zero args
Browse files Browse the repository at this point in the history
Updates pt_testcase to reflect a change in how a stabby lambda
with zero args is parsed.

seattlerb/ruby_parser#189
  • Loading branch information
jaredbeck committed Apr 24, 2015
1 parent 4dedbdc commit 6897af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pt_testcase.rb
Expand Up @@ -359,7 +359,7 @@ def self.unsupported_tests *tests
add_19edgecases("lambda { || (x + 1) }",
s(:iter,
s(:call, nil, :lambda),
0,
s(:args),
s(:call, s(:call, nil, :x), :+, s(:lit, 1))),
"stabby_args_0" => "->() { (x + 1) }",
"stabby_args_0_doend" => "->() do (x + 1) end",
Expand Down

0 comments on commit 6897af5

Please sign in to comment.