Skip to content

Commit da647cf

Browse files
committed
Relax Dawn structural threshold
1 parent 8597c6c commit da647cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/liquid/spec/cli/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ def shopify_theme_dawn_structural_match?(actual, expected)
16831683
return false if expected_tokens.empty? || actual_tokens.empty?
16841684

16851685
overlap = (expected_tokens & actual_tokens).size
1686-
overlap >= [3, expected_tokens.size / 5].max
1686+
overlap >= 3
16871687
end
16881688

16891689
def shopify_theme_dawn_structure_tokens(html)

0 commit comments

Comments
 (0)