mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss/{trackback,syndication,dublincore,content}.rb: worked
with ruby 1.6 again. * test/rss/rss-assertions.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
74f6b8e7c9
commit
d9034d23ce
6 changed files with 63 additions and 39 deletions
|
@ -1,4 +1,16 @@
|
|||
# -*- tab-width: 2 -*- vim: ts=2
|
||||
module Test
|
||||
module Unit
|
||||
module Assertions
|
||||
# For backward compatibility
|
||||
unless instance_methods.include?("assert_raise")
|
||||
def assert_raise(*args, &block)
|
||||
assert_raises(*args, &block)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module RSS
|
||||
module Assertions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue