* ext/digest/test.rb: Switch from RUnit to Test::Unit.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2002-11-27 07:28:45 +00:00
parent 688f0d6c8e
commit ce0fd8c523
2 changed files with 6 additions and 11 deletions

View File

@ -1,3 +1,7 @@
Wed Nov 27 16:25:43 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/test.rb: Switch from RUnit to Test::Unit.
Wed Nov 27 16:14:12 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/syslog/syslog.c: Fix a problem where Syslog#ident was not

View File

@ -3,8 +3,7 @@
# $RoughId: test.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
# $Id$
require 'runit/testcase'
require 'runit/cui/testrunner'
require 'test/unit'
require 'digest/md5'
require 'digest/rmd160'
@ -12,7 +11,7 @@ require 'digest/sha1'
require 'digest/sha2'
include Digest
class TestDigest < RUNIT::TestCase
class TestDigest < Test::Unit::TestCase
ALGOS = [
MD5,
SHA1,
@ -90,11 +89,3 @@ class TestDigest < RUNIT::TestCase
end
end
end
if $0 == __FILE__
suite = RUNIT::TestSuite.new
suite.add_test(TestDigest.suite)
RUNIT::CUI::TestRunner.run(suite)
end