File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -145,21 +145,6 @@ def test_left_or_right_may_contain_operators
145145 assert_evaluates_true ( VariableLookup . parse ( "one" ) , '==' , VariableLookup . parse ( "another" ) )
146146 end
147147
148- def test_default_context_is_deprecated
149- if Gem ::Version . new ( Liquid ::VERSION ) >= Gem ::Version . new ( '6.0.0' )
150- flunk ( "Condition#evaluate without a context argument is to be removed" )
151- end
152-
153- _out , err = capture_io do
154- expr = Parser . new ( '1 == 1' ) . expression
155- assert_equal ( true , Condition . new ( expr ) . evaluate )
156- end
157-
158- expected = "DEPRECATION WARNING: Condition#evaluate without a context argument is deprecated " \
159- "and will be removed from Liquid 6.0.0."
160- assert_includes ( err . lines . map ( &:strip ) , expected )
161- end
162-
163148 def test_parse_expression
164149 environment = Environment . build
165150 parse_context = ParseContext . new ( environment : environment )
You can’t perform that action at this time.
0 commit comments