From 30fbc5591da5922f359987bbbb41de7ac6173ae8 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 20 Dec 2012 01:52:47 +0000 Subject: * remove trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 2 +- NEWS | 2 +- test/openssl/test_fips.rb | 4 ++-- test/rdoc/test_rdoc_comment.rb | 2 +- test/ruby/test_refinement.rb | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4c53d8d94d..5b31d0e39e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -38,7 +38,7 @@ Thu Dec 20 06:59:52 2012 Koichi Sasada (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 diff --git a/NEWS b/NEWS index 9a4ab4cb5a..c1362862f0 100644 --- a/NEWS +++ b/NEWS @@ -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 -- cgit v1.2.3