mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
removed duplicate test scenario
This commit is contained in:
@@ -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
|
||||
- 5 {% include {{page.include1}} %}
|
||||
- 6 {% include {{ page.include1}} %}
|
||||
- 7 {% include {{ page.include3 | downcase | append: '.html'}} %}
|
||||
- 4 {% include {{page.include1}} %}
|
||||
- 5 {% include {{ page.include1}} %}
|
||||
- 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' %}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user