mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
openssl/ut_eof.rb: rename TestEOF
* test/openssl/ut_eof.rb (OpenSSL::TestEOF): move TestEOF module under OpenSSL to get rid of conflict with test/ruby/ut_eof.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
639ccc40ec
commit
34ac59c81e
2 changed files with 5 additions and 5 deletions
|
@ -463,25 +463,25 @@ module OpenSSL::TestPairM
|
|||
end
|
||||
|
||||
class OpenSSL::TestEOF1 < OpenSSL::TestCase
|
||||
include TestEOF
|
||||
include OpenSSL::TestEOF
|
||||
include OpenSSL::SSLPair
|
||||
include OpenSSL::TestEOF1M
|
||||
end
|
||||
|
||||
class OpenSSL::TestEOF1LowlevelSocket < OpenSSL::TestCase
|
||||
include TestEOF
|
||||
include OpenSSL::TestEOF
|
||||
include OpenSSL::SSLPairLowlevelSocket
|
||||
include OpenSSL::TestEOF1M
|
||||
end
|
||||
|
||||
class OpenSSL::TestEOF2 < OpenSSL::TestCase
|
||||
include TestEOF
|
||||
include OpenSSL::TestEOF
|
||||
include OpenSSL::SSLPair
|
||||
include OpenSSL::TestEOF2M
|
||||
end
|
||||
|
||||
class OpenSSL::TestEOF2LowlevelSocket < OpenSSL::TestCase
|
||||
include TestEOF
|
||||
include OpenSSL::TestEOF
|
||||
include OpenSSL::SSLPairLowlevelSocket
|
||||
include OpenSSL::TestEOF2M
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: false
|
||||
require 'test/unit'
|
||||
|
||||
module TestEOF
|
||||
module OpenSSL::TestEOF
|
||||
def test_eof_0
|
||||
open_file("") {|f|
|
||||
assert_equal("", f.read(0))
|
||||
|
|
Loading…
Reference in a new issue