From ce0fd8c52311fef0a95ce9d3d72c756ca6f5b742 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 27 Nov 2002 07:28:45 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ ext/digest/test.rb | 13 ++----------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 67ca226bf0..b8411dcd7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 27 16:25:43 2002 Akinori MUSHA + + * ext/digest/test.rb: Switch from RUnit to Test::Unit. + Wed Nov 27 16:14:12 2002 Akinori MUSHA * ext/syslog/syslog.c: Fix a problem where Syslog#ident was not diff --git a/ext/digest/test.rb b/ext/digest/test.rb index 2f29948bb6..51865aa961 100644 --- a/ext/digest/test.rb +++ b/ext/digest/test.rb @@ -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