Skip to content

Commit

Permalink
some Ruby 1.9 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Aug 31, 2008
1 parent 4820162 commit ca502bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_filelist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def test_cloned_items_stay_frozen
a = FileList['a', 'b', 'c']
a.freeze
c = a.clone
assert_raise(TypeError) do
assert_raise(TypeError, RuntimeError) do
c << 'more'
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/test_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def test_arguments_are_passed_to_block
def test_extra_parameters_are_ignored
t = task(:t, :a) { |tt, args|
assert_equal 1, args.a
assert_nil args[2]
assert_nil args.b
}
t.invoke(1, 2)
end
Expand Down

0 comments on commit ca502bb

Please sign in to comment.