mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 09:05:13 -07:00
Remove unnecessary skips
This commit is contained in:
committed by
Guilherme Carreiro
parent
65a1c167b3
commit
d77662cd0e
@@ -5,11 +5,9 @@ require 'test_helper'
|
|||||||
class RigidModeUnitTest < Minitest::Test
|
class RigidModeUnitTest < Minitest::Test
|
||||||
include Liquid
|
include Liquid
|
||||||
|
|
||||||
def setup
|
|
||||||
skip("todo(guilherme): parse_context.safe_parse_expression in progress...")
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_direct_parse_expression_comparison
|
def test_direct_parse_expression_comparison
|
||||||
|
skip("todo(guilherme): parse_context.safe_parse_expression in progress...")
|
||||||
|
|
||||||
test_cases = [
|
test_cases = [
|
||||||
'foo bar',
|
'foo bar',
|
||||||
'user.name first',
|
'user.name first',
|
||||||
@@ -32,6 +30,8 @@ class RigidModeUnitTest < Minitest::Test
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_comparison_strict_vs_rigid_with_space_separated_lookups
|
def test_comparison_strict_vs_rigid_with_space_separated_lookups
|
||||||
|
skip("todo(guilherme): parse_context.safe_parse_expression in progress...")
|
||||||
|
|
||||||
expr = 'product title'
|
expr = 'product title'
|
||||||
|
|
||||||
ctx_lax = ParseContext.new(environment: lax_env)
|
ctx_lax = ParseContext.new(environment: lax_env)
|
||||||
@@ -51,6 +51,8 @@ class RigidModeUnitTest < Minitest::Test
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_tablerow_limit_with_invalid_expression
|
def test_tablerow_limit_with_invalid_expression
|
||||||
|
skip("todo(guilherme): parse_context.safe_parse_expression in progress...")
|
||||||
|
|
||||||
template = <<~LIQUID
|
template = <<~LIQUID
|
||||||
{% tablerow i in (1..10) limit: foo=>bar %}{{ i }}{% endtablerow %}
|
{% tablerow i in (1..10) limit: foo=>bar %}{{ i }}{% endtablerow %}
|
||||||
LIQUID
|
LIQUID
|
||||||
@@ -64,6 +66,8 @@ class RigidModeUnitTest < Minitest::Test
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_tablerow_offset_with_invalid_expression
|
def test_tablerow_offset_with_invalid_expression
|
||||||
|
skip("todo(guilherme): parse_context.safe_parse_expression in progress...")
|
||||||
|
|
||||||
template = <<~LIQUID
|
template = <<~LIQUID
|
||||||
{% tablerow i in (1..10) offset: foo=>bar %}{{ i }}{% endtablerow %}
|
{% tablerow i in (1..10) offset: foo=>bar %}{{ i }}{% endtablerow %}
|
||||||
LIQUID
|
LIQUID
|
||||||
|
|||||||
Reference in New Issue
Block a user