summaryrefslogtreecommitdiff
path: root/test/digest/test_digest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/digest/test_digest.rb')
-rwxr-xr-xtest/digest/test_digest.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb
index 86f9147428..cf541a4626 100755
--- a/test/digest/test_digest.rb
+++ b/test/digest/test_digest.rb
@@ -69,6 +69,9 @@ module TestDigest
assert_equal(md1, md1.clone, self.class::ALGO)
+ bug9913 = '[ruby-core:62967] [Bug #9913]'
+ assert_not_equal(md1, nil, bug9913)
+
md2 = self.class::ALGO.new
md2 << "A"