Merge pull request #562 from Shopify/use-find_variable-for-parentloop

Use custom stack for forloop references
This commit is contained in:
Justin Li
2015-05-15 21:48:57 -04:00
4 changed files with 42 additions and 24 deletions
-19
View File
@@ -1,24 +1,5 @@
require 'test_helper'
class ErrorDrop < Liquid::Drop
def standard_error
raise Liquid::StandardError, 'standard error'
end
def argument_error
raise Liquid::ArgumentError, 'argument error'
end
def syntax_error
raise Liquid::SyntaxError, 'syntax error'
end
def exception
raise Exception, 'exception'
end
end
class ErrorHandlingTest < Minitest::Test
include Liquid