summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-27 07:28:45 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-27 07:28:45 +0000
commitce0fd8c52311fef0a95ce9d3d72c756ca6f5b742 (patch)
tree77c5a8b969f417171b8a3a6cc4c77e0e2de1232b
parent688f0d6c8e9cd4a42de78a88fb4441b8fb0d41b1 (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--ext/digest/test.rb13
2 files changed, 6 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 67ca226..b8411dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ext/digest/test.rb b/ext/digest/test.rb
index 2f29948..51865aa 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