зеркало из https://github.com/github/ruby.git
* test/net/smtp/test_response.rb: use Test::Unit. We should use Test::Unit
without rubygems and rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a78023c118
Коммит
6a15a37f0b
|
@ -1,3 +1,8 @@
|
|||
Wed Dec 9 09:25:29 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||
|
||||
* test/net/smtp/test_response.rb: use Test::Unit. We should use Test::Unit
|
||||
without rubygems and rdoc.
|
||||
|
||||
Wed Dec 9 06:26:23 2015 Colin Kelley <colindkelley@gmail.com>
|
||||
|
||||
* lib/uri/generic.rb: enable frozen_string_literal
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
require 'net/smtp'
|
||||
require 'minitest/autorun'
|
||||
require 'test/unit'
|
||||
|
||||
module Net
|
||||
class SMTP
|
||||
class TestResponse < MiniTest::Unit::TestCase
|
||||
class TestResponse < Test::Unit::TestCase
|
||||
def test_capabilities
|
||||
res = Response.parse("250-ubuntu-desktop\n250-PIPELINING\n250-SIZE 10240000\n250-VRFY\n250-ETRN\n250-STARTTLS\n250-ENHANCEDSTATUSCODES\n250 DSN\n")
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче