2 char indent in tests
This commit is contained in:
parent
3f1a8dfef3
commit
f9dd29eafa
@ -17,6 +17,7 @@ class RoccoIssueTests < Test::Unit::TestCase
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def test_issue10_utf8_processing
|
||||
# Rocco has issues with strange UTF-8 characters: need to explicitly set the encoding for Pygments
|
||||
# http://github.com/rtomayko/rocco/issues#issue/10
|
||||
@ -36,6 +37,7 @@ class RoccoIssueTests < Test::Unit::TestCase
|
||||
"ISO-8859-1 input should probably also behave correctly."
|
||||
)
|
||||
end
|
||||
|
||||
def test_issue12_css_octothorpe_classname_change
|
||||
# Docco changed some CSS classes. Rocco needs to update its default template.
|
||||
# http://github.com/rtomayko/rocco/issues#issue/12
|
||||
@ -52,6 +54,7 @@ class RoccoIssueTests < Test::Unit::TestCase
|
||||
"`octothorpe` link is present in rendered HTML. This ought be replaced with `pilcrow`."
|
||||
)
|
||||
end
|
||||
|
||||
def test_issue13_incorrect_code_divider_parsing
|
||||
# In `bash` mode (among others), the comment class is `c`, not `c1`.
|
||||
# http://github.com/rtomayko/rocco/issues#issue/13
|
||||
@ -67,6 +70,7 @@ class RoccoIssueTests < Test::Unit::TestCase
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def test_issue15_extra_space_after_comment_character_remains
|
||||
# After the comment character, a single space should be removed.
|
||||
# http://github.com/rtomayko/rocco/issues#issue/15
|
||||
@ -77,6 +81,6 @@ class RoccoIssueTests < Test::Unit::TestCase
|
||||
!r.sections[0][0].include?( "<hr />" ),
|
||||
"`<hr />` present in rendered documentation text. It should be a header, not text followed by a horizontal rule."
|
||||
)
|
||||
assert_equal( "<h2>Comment 1</h2>\n", r.sections[0][0] )
|
||||
assert_equal("<h2>Comment 1</h2>\n", r.sections[0][0])
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user