aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-02 05:08:20 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-02 05:08:20 +0000
commit0732ed367ceba4cfc2bd27690b7541545f62c3a2 (patch)
treea0f904670dfcab86025f143c8554341b03c13ca3 /test
parentdd9c8b88af86d722d3832f6dab9c099644f54a2e (diff)
downloadruby-0732ed367ceba4cfc2bd27690b7541545f62c3a2.tar.gz
* test/rake/test_rake_rules.rb: add space after string literal to
prevent conflict with string options syntax "foo"opts * test/rss/rss-assertions.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rake/test_rake_rules.rb6
-rw-r--r--test/rss/rss-assertions.rb2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/rake/test_rake_rules.rb b/test/rake/test_rake_rules.rb
index 3f6e352322..664aa983e5 100644
--- a/test/rake/test_rake_rules.rb
+++ b/test/rake/test_rake_rules.rb
@@ -298,9 +298,9 @@ class TestRakeRules < Rake::TestCase
actions = []
create_file("abc.xml")
rule '.y' => '.xml' do actions << 'y' end
- rule '.c' => '.y' do actions << 'c'end
- rule '.o' => '.c' do actions << 'o'end
- rule '.exe' => '.o' do actions << 'exe'end
+ rule '.c' => '.y' do actions << 'c' end
+ rule '.o' => '.c' do actions << 'o' end
+ rule '.exe' => '.o' do actions << 'exe' end
Task["abc.exe"].invoke
assert_equal ['y', 'c', 'o', 'exe'], actions
end
diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb
index 090980a650..5763a55eb1 100644
--- a/test/rss/rss-assertions.rb
+++ b/test/rss/rss-assertions.rb
@@ -332,7 +332,7 @@ EOA
_wrap_assertion do
[nil, "text", "html"].each do |type|
attr = ""
- attr = " type=\"#{type}\""if type
+ attr = " type=\"#{type}\"" if type
assert_parse(generator.call(<<-EOA), :nothing_raised)
<#{tag_name}#{attr}/>
EOA