diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-08-13 22:36:25 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-08-24 21:01:09 +0900 |
commit | 134bff1bafd1d0a781a1ac0d4fcbebd963f9c241 (patch) | |
tree | ee4bac3de5a1ec6c906fa0ded28bc9af7b836d46 /test/test_pair.rb | |
parent | aa03e3ac99bbf33d07a7fc24cff199ebd5dbe266 (diff) | |
download | ruby-openssl-134bff1bafd1d0a781a1ac0d4fcbebd963f9c241.tar.gz |
test: fix formatting
Fix wrong nesting in test/utils.rb. Remove unnecessary requires. Wrap
the code with 'if defined?(OpenSSL::TestUtils) ~ end' and avoid class
definition with modifier if.
Diffstat (limited to 'test/test_pair.rb')
-rw-r--r-- | test/test_pair.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_pair.rb b/test/test_pair.rb index 81a55cbe..570309af 100644 --- a/test/test_pair.rb +++ b/test/test_pair.rb @@ -1,11 +1,9 @@ # frozen_string_literal: false require_relative 'utils' +require_relative 'ut_eof' if defined?(OpenSSL::TestUtils) -require 'socket' -require_relative 'ut_eof' - module OpenSSL::SSLPairM def server host = "127.0.0.1" |