diff --git a/test/integration/parsing_quirks_test.rb b/test/integration/parsing_quirks_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/parsing_quirks_test.rb
+++ b/test/integration/parsing_quirks_test.rb
@@ -110,4 +110,10 @@ class ParsingQuirksTest < Minitest::Test
     end
   end
 
+  def test_extra_dots_in_ranges
+    with_error_mode(:lax) do
+      assert_template_result('12345', "{% for i in (1...5) %}{{ i }}{% endfor %}")
+    end
+  end
+
 end # ParsingQuirksTest
Add quirks test for extra dots in ranges