mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Revert "Raise FilterNotFound on use of non-existent filter"
This reverts commit 01c25a11a3.
Conflicts:
test/context_test.rb
This commit is contained in:
@@ -155,9 +155,7 @@ class ContextTest < Test::Unit::TestCase
|
||||
assert_equal 'hi? hi!', context.invoke(:hi, 'hi?')
|
||||
|
||||
context = Context.new
|
||||
assert_raises(FilterNotFound) {
|
||||
context.invoke(:hi, 'hi?')
|
||||
}
|
||||
assert_equal 'hi?', context.invoke(:hi, 'hi?')
|
||||
|
||||
context.add_filters(filter)
|
||||
assert_equal 'hi? hi!', context.invoke(:hi, 'hi?')
|
||||
|
||||
Reference in New Issue
Block a user