Tests both extra_space and extra_space=
Source Code
# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 1109 def test_extra_space assert_nothing_raised { @format_o = Text::Format.new } assert(!@format_o.extra_space) assert_nothing_raised { @format_o.extra_space = true } assert(@format_o.extra_space) # The behaviour of extra_space is tested in test_abbreviations. There # is no need to reproduce it here. end
<code/>and<pre/>for code samples.