aboutsummaryrefslogtreecommitdiffstats
path: root/test/digest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-09 14:25:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-09 14:25:56 +0000
commit83a827ac9be0249471b23ee56980bc33a542a0fa (patch)
tree0fb9267177d477b00bb78ee7f331f45071885046 /test/digest
parenteb0c31b1adaa23051b952b3c0de0640a5283afd4 (diff)
downloadruby-83a827ac9be0249471b23ee56980bc33a542a0fa.tar.gz
* vm.c (vm_backtrace_each): skip allocator frames which have no
name. [ruby-core:32231] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/digest')
-rwxr-xr-xtest/digest/test_digest.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb
index 9f95afa1de..e35047e979 100755
--- a/test/digest/test_digest.rb
+++ b/test/digest/test_digest.rb
@@ -125,4 +125,11 @@ module TestDigest
Data2 => "12a053384a9c0c88e405a06c27dcf49ada62eb2b",
}
end if defined?(Digest::RMD160)
+
+ class TestBase < Test::Unit::TestCase
+ def test_base
+ bug3810 = '[ruby-core:32231]'
+ assert_raise(NotImplementedError, bug3810) {Digest::Base.new}
+ end
+ end
end