summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--test/rake/test_rake_rules.rb6
-rw-r--r--test/rss/rss-assertions.rb2
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index bcee27d960f..d8abce0ae57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Mon Sep 2 14:01:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
+
+ * 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
+
Mon Sep 2 12:28:38 2013 Tanaka Akira <akr@fsij.org>
* test/ruby/test_bignum.rb (test_interrupt_during_to_s): Disable it
diff --git a/test/rake/test_rake_rules.rb b/test/rake/test_rake_rules.rb
index 3f6e3523222..664aa983e57 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 090980a6505..5763a55eb17 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