summaryrefslogtreecommitdiff
path: root/test/digest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-07 05:32:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-07 05:32:26 +0000
commit08907d87e01ba0181b90603e27ec83cd9c285ad8 (patch)
tree9be583b9846b2277e9855bae4bd8c77223fef3b8 /test/digest
parenteb136f8643857119206ccb360e6b85a951a72e5a (diff)
add test for [ruby-dev:24060], [ruby-dev:24065], [ruby-dev:24103],
[ruby-dev:24190], [ruby-dev:24191], [ruby-dev:24194], [ruby-dev:24197], [ruby-dev:24202], [ruby-dev:24213], [ruby-dev:24223] and [ruby-dev:24228]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/digest')
-rw-r--r--test/digest/test_digest.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb
index 89f0660..7cdc639 100644
--- a/test/digest/test_digest.rb
+++ b/test/digest/test_digest.rb
@@ -88,4 +88,10 @@ class TestDigest < Test::Unit::TestCase
assert_equal(md1, md2, algo)
end
end
+
+ def test_instance_eval # [ruby-dev:24202]
+ assert_nothing_raised {
+ Digest::SHA1.new.instance_eval { update "a" }
+ }
+ end
end