Skip to content

Commit

Permalink
Failing test for mustache#87
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 5, 2011
1 parent ee6c868 commit 0f89d73
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/mustache_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ def test_sassy_single_line_sections
assert_equal "\n full time\n", instance.render
end

def test_sassier_single_line_sections
instance = Mustache.new
instance.template = "\t{{#list}}\r\n\t{{/list}}"

assert_equal "", instance.render
end

def test_two_line_sections
html = %(<p class="flash-notice" {{# no_flash }}style="display: none;"\n{{/ no_flash }}>)

Expand Down

0 comments on commit 0f89d73

Please sign in to comment.