diff --git a/test/source/_posts/2013-12-17-include-variable-filters.markdown b/test/source/_posts/2013-12-17-include-variable-filters.markdown index 3b3db878..3d66e879 100644 --- a/test/source/_posts/2013-12-17-include-variable-filters.markdown +++ b/test/source/_posts/2013-12-17-include-variable-filters.markdown @@ -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' %} diff --git a/test/test_tags.rb b/test/test_tags.rb index 01aa9be6..926c7f18 100644 --- a/test/test_tags.rb +++ b/test/test_tags.rb @@ -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