summaryrefslogtreecommitdiff
path: root/test/rss/test_xml-stylesheet.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
commit287a34ae0dfc23e4158f67cb7783d239f202c368 (patch)
tree5e35d5b41aae961b37cf6632f60c42f51c7aa775 /test/rss/test_xml-stylesheet.rb
parent9b52ae2e6491bb5d6c59e1799449f6268baf6f89 (diff)
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/test_xml-stylesheet.rb')
-rw-r--r--test/rss/test_xml-stylesheet.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/rss/test_xml-stylesheet.rb b/test/rss/test_xml-stylesheet.rb
index b946af1294..cc19a38287 100644
--- a/test/rss/test_xml-stylesheet.rb
+++ b/test/rss/test_xml-stylesheet.rb
@@ -7,7 +7,7 @@ require "rss/xml-stylesheet"
module RSS
class TestXMLStyleSheet < TestCase
-
+
def test_accessor
[
{:href => "a.xsl", :type => "text/xsl"},
@@ -17,7 +17,7 @@ module RSS
assert_xml_stylesheet_attrs(attrs, XMLStyleSheet.new(attrs))
end
end
-
+
def test_to_s
[
{:href => "a.xsl", :type => "text/xsl"},
@@ -39,7 +39,7 @@ module RSS
assert_xml_stylesheet(target, attrs, XMLStyleSheet.new(contents))
end
end
-
+
def test_bad_alternate
%w(a ___ ??? BAD_ALTERNATE).each do |value|
xss = XMLStyleSheet.new
@@ -53,7 +53,7 @@ module RSS
assert_nil(xss.alternate)
end
end
-
+
def test_parse
[
[{:href => "a.xsl", :type => "text/xsl"},],
@@ -92,7 +92,7 @@ module RSS
end
end
end
-
+
def parse_pi(pi)
/\A\s*<\?(\S+)([^(?:\?>)]+)\?>\s*\z/ =~ pi
target = $1
@@ -103,6 +103,6 @@ module RSS
end
[target, contents]
end
-
+
end
end