We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44da054 commit 0781eacCopy full SHA for 0781eac
test/unit/block_test.rb
@@ -115,11 +115,11 @@ def read_template_file(template_path)
115
def test_include_partial_with_syntax_error
116
old_file_system = Liquid::Template.file_system
117
begin
118
- Liquid::Template.file_system = StubFileSystem.new(
+ Liquid::Template.file_system = StubFileSystem.new({
119
"invalid" => "{% foo %}",
120
"valid" => '{% include "nested" %}',
121
"nested" => "valid",
122
- )
+ })
123
124
template = Liquid::Template.parse("{% include 'invalid' %},{% include 'valid' %}")
125
assert_equal("Liquid syntax error: Unknown tag 'foo',valid", template.render)
0 commit comments