removed duplicate test scenario

This commit is contained in:
Jens Nazarenus 2013-12-19 18:23:07 +01:00
parent 43ef9a2e4f
commit f9ffbe0d6a
2 changed files with 5 additions and 7 deletions

View File

@ -11,12 +11,11 @@ Liquid tests
- 1 {% include {{ page.include1 }} %}
- 2 {% include {{ page.include2 | append: '.html' }} %}
- 3 {% include {{ page.include3 | downcase | append: '.html' }} %}
- 4 {% include {{ page.include2 | append: '.html' }} %}
Whitespace tests
- 4 {% include {{page.include1}} %}
- 5 {% include {{ page.include1}} %}
- 6 {% include {{ page.include1}} %}
- 7 {% include {{ page.include3 | downcase | append: '.html'}} %}
- 6 {% include {{ page.include3 | downcase | append: '.html'}} %}
Parameters test
- 8 {% include {{ page.include4 | append: '.html' }} var1='foo' var2='bar' %}
- 7 {% include {{ page.include4 | append: '.html' }} var1='foo' var2='bar' %}

View File

@ -488,13 +488,12 @@ CONTENT
assert_match %r{1 included}, @content
assert_match %r{2 included}, @content
assert_match %r{3 included}, @content
assert_match %r{4 included}, @content
end
should "include file as variable and liquid filters with arbitrary whitespace" do
assert_match %r{4 included}, @content
assert_match %r{5 included}, @content
assert_match %r{6 included}, @content
assert_match %r{7 included}, @content
end
should "include file as variable and filters with additional parameters" do