diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-20 01:52:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-20 01:52:47 +0000 |
commit | 30fbc5591da5922f359987bbbb41de7ac6173ae8 (patch) | |
tree | 46aa07f27fc43631f730adfd4885e3d64d7c86b6 | |
parent | b28ac4039df7f04d8bb743cc1741a4a31c52e270 (diff) |
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | test/openssl/test_fips.rb | 4 | ||||
-rw-r--r-- | test/rdoc/test_rdoc_comment.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_refinement.rb | 2 |
5 files changed, 6 insertions, 6 deletions
@@ -38,7 +38,7 @@ Thu Dec 20 06:59:52 2012 Koichi Sasada <ko1@atdot.net> (1) You can run more complex program on a Fiber. (2) You can not make many (thousands) Fibers because of lack of address space (on 32bit CPU). - If (2) bothers you, + If (2) bothers you, (a) Use 64bit CPU with big memory, or (b) Specify RUBY_FIBER_(VM|MACHINE)_STACK_SIZE correctly. You need to choose correct stack size carefully. These values @@ -262,7 +262,7 @@ with all sufficient information, see the ChangeLog file. is FIPS-enabled. OpenSSL.fips_mode= allows turning on and off FIPS mode manually in order to adapt to situations where FIPS mode would be an explicit requirement. - + * ostruct * new methods: * OpenStruct#[], []= diff --git a/test/openssl/test_fips.rb b/test/openssl/test_fips.rb index f04e511d76..7d290feb7c 100644 --- a/test/openssl/test_fips.rb +++ b/test/openssl/test_fips.rb @@ -3,7 +3,7 @@ require_relative 'utils' if defined?(OpenSSL) && OpenSSL::OPENSSL_FIPS class OpenSSL::TestFIPS < Test::Unit::TestCase - + def test_reject_md5 data = "test" assert_not_nil(OpenSSL::Digest.new("MD5").digest(data)) @@ -36,7 +36,7 @@ class OpenSSL::TestFIPS < Test::Unit::TestCase end private - + def in_fips_mode OpenSSL.fips_mode = true yield diff --git a/test/rdoc/test_rdoc_comment.rb b/test/rdoc/test_rdoc_comment.rb index 1afc94c251..4d0d54edca 100644 --- a/test/rdoc/test_rdoc_comment.rb +++ b/test/rdoc/test_rdoc_comment.rb @@ -70,7 +70,7 @@ call-seq: comment = RDoc::Comment.new <<-COMMENT, @top_level # call-seq: # bla => true or false -# +#\s # moar comment COMMENT diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb index fdaf7e8c46..1d5074fa66 100644 --- a/test/ruby/test_refinement.rb +++ b/test/ruby/test_refinement.rb @@ -563,7 +563,7 @@ class TestRefinement < Test::Unit::TestCase def recursive_length if empty? 0 - else + else self[1..-1].recursive_length + 1 end end |