From 0732ed367ceba4cfc2bd27690b7541545f62c3a2 Mon Sep 17 00:00:00 2001 From: charliesome Date: Mon, 2 Sep 2013 05:08:20 +0000 Subject: * 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 --- test/rake/test_rake_rules.rb | 6 +++--- test/rss/rss-assertions.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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 -- cgit v1.2.3