mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
dd9c8b88af
commit
0732ed367c
3 changed files with 11 additions and 4 deletions
|
@ -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>
|
Mon Sep 2 12:28:38 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* test/ruby/test_bignum.rb (test_interrupt_during_to_s): Disable it
|
* test/ruby/test_bignum.rb (test_interrupt_during_to_s): Disable it
|
||||||
|
|
|
@ -298,9 +298,9 @@ class TestRakeRules < Rake::TestCase
|
||||||
actions = []
|
actions = []
|
||||||
create_file("abc.xml")
|
create_file("abc.xml")
|
||||||
rule '.y' => '.xml' do actions << 'y' end
|
rule '.y' => '.xml' do actions << 'y' end
|
||||||
rule '.c' => '.y' do actions << 'c'end
|
rule '.c' => '.y' do actions << 'c' end
|
||||||
rule '.o' => '.c' do actions << 'o'end
|
rule '.o' => '.c' do actions << 'o' end
|
||||||
rule '.exe' => '.o' do actions << 'exe'end
|
rule '.exe' => '.o' do actions << 'exe' end
|
||||||
Task["abc.exe"].invoke
|
Task["abc.exe"].invoke
|
||||||
assert_equal ['y', 'c', 'o', 'exe'], actions
|
assert_equal ['y', 'c', 'o', 'exe'], actions
|
||||||
end
|
end
|
||||||
|
|
|
@ -332,7 +332,7 @@ EOA
|
||||||
_wrap_assertion do
|
_wrap_assertion do
|
||||||
[nil, "text", "html"].each do |type|
|
[nil, "text", "html"].each do |type|
|
||||||
attr = ""
|
attr = ""
|
||||||
attr = " type=\"#{type}\""if type
|
attr = " type=\"#{type}\"" if type
|
||||||
assert_parse(generator.call(<<-EOA), :nothing_raised)
|
assert_parse(generator.call(<<-EOA), :nothing_raised)
|
||||||
<#{tag_name}#{attr}/>
|
<#{tag_name}#{attr}/>
|
||||||
EOA
|
EOA
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue