public Method

TestText__Format.test_unexpand

There's no documentation for this item.

Source Code

# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 1413
def test_unexpand
  assert_nothing_raised { @format_o = Text::Format.new }
  assert_equal("\t  ", @format_o.unexpand("          "))
  assert_nothing_raised { @format_o.tabstop = 4 }
  assert_equal("\t  ", @format_o.unexpand("      "))
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.