test/openssl/test_ns_spki.rb in jruby-openssl-0.7.1 vs test/openssl/test_ns_spki.rb in jruby-openssl-0.7.2

- old
+ new

@@ -20,19 +20,9 @@ @b64 << "i0//rgBvmco=" end def teardown end -def pr(obj, ind=0) - if obj.respond_to?(:value) - puts((" "*ind) + obj.class.to_s + ":") - pr(obj.value,(ind+1)) - elsif obj.respond_to?(:each) && !(String===obj) - obj.each {|v| pr(v,ind+1) } - else - puts((" "*ind) + obj.inspect) - end -end def test_build_data key1 = OpenSSL::TestUtils::TEST_KEY_RSA1024 key2 = OpenSSL::TestUtils::TEST_KEY_RSA2048 spki = OpenSSL::Netscape::SPKI.new