Please use the more readable style with heredocs. Multiple here docs can be used like this:

```
assert_generates(<<-RUBY, <<-RUBY)
  1 + # first
  2 + # second
RUBY
  1 + 2 # first # second
RUBY