mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b52ae2e64
commit
287a34ae0d
856 changed files with 13989 additions and 13989 deletions
|
@ -40,7 +40,7 @@ class TestRDocInfoFormatting < MiniTest::Unit::TestCase
|
|||
def test_escaping
|
||||
assert_match(/@@ and @\{@\} should be at-sign-prefixed/)
|
||||
end
|
||||
|
||||
|
||||
# This tests that *bold* and <b>bold me</b> become @strong{bolded}
|
||||
def test_bold
|
||||
# Seems like a limitation of the Info format: @strong{bold}
|
||||
|
@ -139,7 +139,7 @@ Second inner item.
|
|||
Second outer item.
|
||||
@end itemize")
|
||||
end
|
||||
|
||||
|
||||
def test_internal_hyperlinks
|
||||
# be sure to test multi-word hyperlinks as well.
|
||||
end
|
||||
|
|
|
@ -32,7 +32,7 @@ class TestRDocMarkupToHtmlCrossref < MiniTest::Unit::TestCase
|
|||
# predicable.
|
||||
RDoc::Generator::Method.reset
|
||||
top_level = RDoc::TopLevel.new @source_file_name
|
||||
|
||||
|
||||
options = RDoc::Options.new
|
||||
options.quiet = true
|
||||
|
||||
|
@ -107,7 +107,7 @@ class TestRDocMarkupToHtmlCrossref < MiniTest::Unit::TestCase
|
|||
#
|
||||
def verify_class_crossref(xref, reference, class_name)
|
||||
class_file_name = class_name.gsub(/::/, "/")
|
||||
|
||||
|
||||
result = "<a href=\"../classes/#{class_file_name}.html\">#{reference}</a>"
|
||||
|
||||
verify_convert xref, reference, result
|
||||
|
@ -120,7 +120,7 @@ class TestRDocMarkupToHtmlCrossref < MiniTest::Unit::TestCase
|
|||
#
|
||||
def verify_method_crossref(xref, reference, class_name, method_seq)
|
||||
class_file_name = class_name.gsub(/::/, "/")
|
||||
|
||||
|
||||
result = "<a href=\"../classes/#{class_file_name}.html##{method_seq}\">#{reference}</a>"
|
||||
|
||||
verify_convert xref, reference, result
|
||||
|
@ -145,7 +145,7 @@ class TestRDocMarkupToHtmlCrossref < MiniTest::Unit::TestCase
|
|||
# bogus does not exist and so no cross-reference should be generated.
|
||||
verify_no_crossref xref, "bogus"
|
||||
verify_no_crossref xref, "\\bogus"
|
||||
|
||||
|
||||
# Ref_Class1 is in the top-level namespace, and so a cross-reference always
|
||||
# should be generated, unless markup is suppressed.
|
||||
verify_class_crossref xref, "Ref_Class1", "Ref_Class1"
|
||||
|
|
|
@ -176,11 +176,11 @@ void Init_foo(){
|
|||
|
||||
comment = <<-EOF.chomp
|
||||
|
||||
|
||||
|
||||
Multiline comment goes here because this comment spans multiple lines.
|
||||
Multiline comment goes here because this comment spans multiple lines.
|
||||
|
||||
|
||||
|
||||
|
||||
EOF
|
||||
assert_equal ['MULTILINE', 'INT2FIX(1)', comment], constants.shift
|
||||
assert_equal ['MULTILINE_VALUE', '1', comment], constants.shift
|
||||
|
@ -189,8 +189,8 @@ void Init_foo(){
|
|||
|
||||
Multiline comment goes here because this comment spans multiple lines.
|
||||
Multiline comment goes here because this comment spans multiple lines.
|
||||
|
||||
|
||||
|
||||
|
||||
EOF
|
||||
assert_equal ['MULTILINE_NOT_EMPTY', 'INT2FIX(1)', comment], constants.shift
|
||||
|
||||
|
|
|
@ -177,7 +177,7 @@ class TestRDocParserRuby < MiniTest::Unit::TestCase
|
|||
assert_equal 'Foo', foo.full_name
|
||||
assert_equal comment, foo.comment
|
||||
end
|
||||
|
||||
|
||||
def test_parse_class_mistaken_for_module
|
||||
#
|
||||
# The code below is not strictly legal Ruby (Foo must have been defined
|
||||
|
|
|
@ -169,7 +169,7 @@ Instance method extensions:
|
|||
------------------------------------------------------- SomeClass::some_method
|
||||
SomeClass::some_method(arg1, arg2)
|
||||
|
||||
From
|
||||
From
|
||||
------------------------------------------------------------------------------
|
||||
[no description]
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue