Skip to content

Commit

Permalink
Test case for transform of 'puts 42' regression
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarh committed Jul 10, 2013
1 parent ae61dfd commit 5f792c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions features/transform.feature
Expand Up @@ -10,7 +10,8 @@ Feature: Transformations
Then the parse tree should become <tree>

Examples:
| expr | tree | notes |
| "1 + 2" | [:do,[:callm, [:sexp,[:call, :__get_fixnum, 1]], :+ , [[:sexp,[:call, :__get_fixnum, 2]]]]] | |
| expr | tree | notes |
| "1 + 2" | [:do,[:callm, [:sexp,[:call, :__get_fixnum, 1]], :+ , [[:sexp,[:call, :__get_fixnum, 2]]]]] | |
| "puts 42" | [:do, [:call, :puts, [[:sexp,[:call, :__get_fixnum, 42]]]]] | |


0 comments on commit 5f792c4

Please sign in to comment.