diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-16 04:51:15 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-16 04:51:15 +0000 |
commit | 891ad83098840851fb16f7ec4a664fc664792df0 (patch) | |
tree | e1d33d49cca9875ec515d3ee4ed0dc2686432941 /test/rss/test_accessor.rb | |
parent | 0ebac90b0ebb07ad2aa99080c8509559a7ddc74d (diff) | |
download | ruby-891ad83098840851fb16f7ec4a664fc664792df0.tar.gz |
* lib/rss/: untabified.
* test/rss/: untabified.
* lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/test_accessor.rb')
-rw-r--r-- | test/rss/test_accessor.rb | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/test/rss/test_accessor.rb b/test/rss/test_accessor.rb index 08f565e596..1b92f9d98c 100644 --- a/test/rss/test_accessor.rb +++ b/test/rss/test_accessor.rb @@ -6,21 +6,21 @@ require "rss/1.0" require "rss/2.0" module RSS - class TestAccessor < TestCase - - def test_date - channel = Rss::Channel.new - channel.do_validate = false - channel.pubDate = nil - assert_nil(channel.pubDate) - - time = Time.now - channel.pubDate = time - assert_equal(time, channel.pubDate) - - channel.pubDate = nil - assert_nil(channel.pubDate) - end - - end + class TestAccessor < TestCase + + def test_date + channel = Rss::Channel.new + channel.do_validate = false + channel.pubDate = nil + assert_nil(channel.pubDate) + + time = Time.now + channel.pubDate = time + assert_equal(time, channel.pubDate) + + channel.pubDate = nil + assert_nil(channel.pubDate) + end + + end end |