Skip to content

Commit

Permalink
Fix test_eventables for ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Feb 8, 2009
1 parent aab5921 commit 15ae3cf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_eventables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
$:.unshift "../lib"
require 'eventmachine'

require 'test/unit/testsuite'
require 'test/unit/ui/console/testrunner'


class TestEventables < Test::Unit::TestCase

class EvTest
Expand Down Expand Up @@ -68,6 +64,9 @@ def xxx_test_a
#--------------------------------------

if __FILE__ == $0
require 'test/unit/testsuite'
require 'test/unit/ui/console/testrunner'

runner = Test::Unit::UI::Console::TestRunner
suite = Test::Unit::TestSuite.new("name")
ObjectSpace.each_object(Class) do |testcase|
Expand Down

0 comments on commit 15ae3cf

Please sign in to comment.