diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2020-03-09 16:24:33 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2020-03-09 16:24:33 +0900 |
commit | 58e9fb31ef86e72e9f1156885acb4f6bcc9a7327 (patch) | |
tree | 73e7e1ec00b40839262a467baeae519079114ff5 /test/openssl | |
parent | dacd08937ccda99c77a0458548169e9b06b54465 (diff) | |
download | ruby-openssl-58e9fb31ef86e72e9f1156885acb4f6bcc9a7327.tar.gz |
ssl: remove test case test_puts_meta from test_pair
Remove it as it does not make sense. Also, it produces deprecation
warning on the current master of Ruby (2.8).
It is a test case to check that changing $/ will not affect
OpenSSL::Buffering#puts. However, $/ is the input record separator and
should be completely irrelevant to it.
Diffstat (limited to 'test/openssl')
-rw-r--r-- | test/openssl/test_pair.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb index e9cf98df..8316ec2a 100644 --- a/test/openssl/test_pair.rb +++ b/test/openssl/test_pair.rb @@ -156,20 +156,6 @@ module OpenSSL::TestPairM } end - def test_puts_meta - ssl_pair {|s1, s2| - begin - old = $/ - $/ = '*' - s1.puts 'a' - ensure - $/ = old - end - s1.close - assert_equal("a\n", s2.read) - } - end - def test_puts_empty ssl_pair {|s1, s2| s1.puts |