diff options
Diffstat (limited to 'test/test_wrapper.rb')
-rw-r--r-- | test/test_wrapper.rb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/test_wrapper.rb b/test/test_wrapper.rb index f7e4871..1db89fc 100644 --- a/test/test_wrapper.rb +++ b/test/test_wrapper.rb @@ -21,19 +21,19 @@ class TestHighLineWrapper < Minitest::Test def test_wrap_long_lines_correctly long_line = - "This is a long flowing paragraph meant to span " + - "several lines. This text should definitely be " + - "wrapped at the set limit, in the result. Your code " + + "This is a long flowing paragraph meant to span " \ + "several lines. This text should definitely be " \ + "wrapped at the set limit, in the result. Your code " \ "does well with things like this.\n\n" wrapped_long_line = - "This is a long flowing paragraph meant to span " + - "several lines. This text should\n" + + "This is a long flowing paragraph meant to span " \ + "several lines. This text should\n" \ - "definitely be wrapped at the set limit, in the " + - "result. Your code does well with\n" + + "definitely be wrapped at the set limit, in the " \ + "result. Your code does well with\n" \ - "things like this.\n\n" + "things like this.\n\n" wrapped = wrap(long_line) assert_equal wrapped_long_line, wrapped @@ -41,13 +41,13 @@ class TestHighLineWrapper < Minitest::Test def test_dont_wrap_already_well_wrapped_text well_formatted_text = - " * This is a simple embedded list.\n" + - " * You're code should not mess with this...\n" + - " * Because it's already formatted correctly and does not\n" + + " * This is a simple embedded list.\n" \ + " * You're code should not mess with this...\n" \ + " * Because it's already formatted correctly and does not\n" \ " exceed the limit!\n" wrapped = wrap(well_formatted_text) - assert_equal well_formatted_text, wrapped + assert_equal well_formatted_text, wrapped end def test_wrap_single_word_longer_than_wrap_at @@ -185,4 +185,4 @@ class TestHighLineWrapper < Minitest::Test end end end -end
\ No newline at end of file +end |