Skip to content

Commit e8adba6

Browse files
author
Charlie Somerville
committed
fix syntax errors
1 parent af20309 commit e8adba6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/rake/test_rake_rules.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ def test_recursive_rules_will_work_as_long_as_they_terminate
298298
actions = []
299299
create_file("abc.xml")
300300
rule '.y' => '.xml' do actions << 'y' end
301-
rule '.c' => '.y' do actions << 'c'end
302-
rule '.o' => '.c' do actions << 'o'end
303-
rule '.exe' => '.o' do actions << 'exe'end
301+
rule '.c' => '.y' do actions << 'c' end
302+
rule '.o' => '.c' do actions << 'o' end
303+
rule '.exe' => '.o' do actions << 'exe' end
304304
Task["abc.exe"].invoke
305305
assert_equal ['y', 'c', 'o', 'exe'], actions
306306
end

test/rss/rss-assertions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def assert_atom_text_construct(tag_name, generator)
332332
_wrap_assertion do
333333
[nil, "text", "html"].each do |type|
334334
attr = ""
335-
attr = " type=\"#{type}\""if type
335+
attr = " type=\"#{type}\"" if type
336336
assert_parse(generator.call(<<-EOA), :nothing_raised)
337337
<#{tag_name}#{attr}/>
338338
EOA

0 commit comments

Comments
 (0)