Skip to content

Commit

Permalink
Make separate test case for ulist
Browse files Browse the repository at this point in the history
  • Loading branch information
okkez committed Sep 6, 2013
1 parent 49d4700 commit 30df129
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/test_rdcompiler.rb
Expand Up @@ -362,7 +362,7 @@ def test_method2
assert_compiled_method_source(expected, src)
end

def test_ulist
def test_ulist_simple
src = <<'HERE'
* hoge1
* hoge2
Expand All @@ -374,7 +374,9 @@ def test_ulist
</ul>
HERE
assert_compiled_source(expected, src)
end

def test_ulist_multiple_list
src = <<'HERE'
* hoge1
Expand All @@ -389,7 +391,9 @@ def test_ulist
</ul>
HERE
assert_compiled_source(expected, src)
end

def test_ulist_continuous_line
src = <<'HERE'
* hoge1
bar
Expand Down Expand Up @@ -422,7 +426,6 @@ def test_olist
assert_compiled_source(expected, src)
end


def test_invalid_case
src = <<HERE
: t1
Expand Down

0 comments on commit 30df129

Please sign in to comment.