Absolutely, I used the methods so that I didn't have "magic" strings repeated throughout the tests, but once the others are deleted a heredoc will work perfectly. 

Sent from my iPhone

On Feb 15, 2013, at 2:03 PM, Jon Leighton <notifications@github.com> wrote:

> In test/unit/client/help_test.rb:
> 
> > +    assert_equal application_commands, @help.application_commands
> > +  end
> > +
> > +  test "spring_command_help returns formatted output for client commands" do
> > +    assert_equal expected_spring_command_output, @help.spring_command_help
> > +  end
> > +
> > +  test "application_command_help returns formatted output for application commands" do
> > +    assert_equal expected_application_command_output, @help.application_command_help
> > +  end
> > +
> > +  test "formatted_help generates expected output" do
> > +    expected_output = ["Usage: spring COMMAND [ARGS]\n",
> > +                       *expected_spring_command_output,
> > +                       "",
> > +                       *expected_application_command_output].join("\n")
> Can you use a heredoc to specify the expected output? I prefer not to have any code involved in generating the expected output, otherwise that code may itself be susceptible to bugs.
> 
> —
> Reply to this email directly or view it on GitHub.
>