remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-11-20 12:34:37 +00:00
parent a00a9a28fb
commit c3da426d10
3 changed files with 6 additions and 6 deletions

View File

@ -2033,7 +2033,7 @@ module Net
end end
end end
class BodyTypeExtension < Struct.new(:media_type, :subtype, class BodyTypeExtension < Struct.new(:media_type, :subtype,
:params, :content_id, :params, :content_id,
:description, :encoding, :size) :description, :encoding, :size)
def multipart? def multipart?
@ -2414,11 +2414,11 @@ module Net
# If this is not message/rfc822, we shouldn't apply the RFC822 spec # If this is not message/rfc822, we shouldn't apply the RFC822 spec
# to it. # to it.
# We should handle anything other than message/rfc822 using # We should handle anything other than message/rfc822 using
# multipart extension data [rfc3501] (i.e. the data itself won't be # multipart extension data [rfc3501] (i.e. the data itself won't be
# returned, we would have to retrieve it with BODYSTRUCTURE instead # returned, we would have to retrieve it with BODYSTRUCTURE instead
# of with BODY # of with BODY
if "#{mtype}/#{msubtype}" != 'MESSAGE/RFC822' then if "#{mtype}/#{msubtype}" != 'MESSAGE/RFC822' then
return BodyTypeExtension.new(mtype, msubtype, return BodyTypeExtension.new(mtype, msubtype,
param, content_id, param, content_id,
desc, enc, size) desc, enc, size)
end end

View File

@ -472,7 +472,7 @@ end.join
assert_equal(false, s.tainted?, assert_equal(false, s.tainted?,
"#{exc}#to_s should not propagate taintness") "#{exc}#to_s should not propagate taintness")
end end
o = Object.new o = Object.new
def o.to_str def o.to_str
"foo" "foo"

View File

@ -533,7 +533,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
def test_tracepoint def test_tracepoint
events1, answer_events = *trace_by_tracepoint() events1, answer_events = *trace_by_tracepoint()
mesg = events1.map{|e| mesg = events1.map{|e|
"#{e[0]} - #{e[2]}:#{e[1]} id: #{e[4]}" "#{e[0]} - #{e[2]}:#{e[1]} id: #{e[4]}"
}.join("\n") }.join("\n")
@ -627,7 +627,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
def test_tracepoint_enabled def test_tracepoint_enabled
trace = TracePoint.trace(:call){|tp| trace = TracePoint.trace(:call){|tp|
# #
} }
assert_equal(true, trace.enabled?) assert_equal(true, trace.enabled?)
trace.disable{ trace.disable{