diff --git a/language/heredoc_spec.rb b/language/heredoc_spec.rb index b3b160fd1..a9d651a3e 100644 --- a/language/heredoc_spec.rb +++ b/language/heredoc_spec.rb @@ -106,4 +106,10 @@ SquigglyHeredocSpecs.least_indented_on_the_first_line_single.should == "a\n b\n c\n" SquigglyHeredocSpecs.least_indented_on_the_last_line_single.should == " a\n b\nc\n" end + + it "reports line numbers inside HEREDOC with method call" do + -> { + eval %{<