diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-12-04 21:28:57 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-12-05 00:35:17 +0900 |
commit | 3fdff8fdaf0391bf6ba674ef6830ac498323b0f4 (patch) | |
tree | 642a819eb89ceff189e5826c53317333e819381d /test/test_x509crl.rb | |
parent | b7a15b7f3f861fe3e58c1e75299cfd154e037c5b (diff) | |
download | ruby-openssl-3fdff8fdaf0391bf6ba674ef6830ac498323b0f4.tar.gz |
test: call super from each test case's 'setup' method
Just like we already do for 'teardown' method, though we don't have
OpenSSL::TestCase#setup yet. This will be useful when we want to inject
GC.stress = true.
Diffstat (limited to 'test/test_x509crl.rb')
-rw-r--r-- | test/test_x509crl.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_x509crl.rb b/test/test_x509crl.rb index f61de971..44dfffc9 100644 --- a/test/test_x509crl.rb +++ b/test/test_x509crl.rb @@ -5,6 +5,7 @@ if defined?(OpenSSL::TestUtils) class OpenSSL::TestX509CRL < OpenSSL::TestCase def setup + super @rsa1024 = OpenSSL::TestUtils::TEST_KEY_RSA1024 @rsa2048 = OpenSSL::TestUtils::TEST_KEY_RSA2048 @dsa256 = OpenSSL::TestUtils::TEST_KEY_DSA256 |