summary refs log tree commit diff stats
path: root/testing/test_regress.py
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2021-01-31 20:33:09 -0300
committerSoniEx2 <endermoneymod@gmail.com>2021-01-31 20:33:51 -0300
commit77e04d5d7baf432ba6419f0a8b38161de1c76bec (patch)
treed4bf8acc4ea02fe69b4e400cc12b918baf51036e /testing/test_regress.py
parentff3628c36eab5ec19ab850e9126a951f5c203568 (diff)
Fix unexpected token after subvalue raising wrong HEAD default
Diffstat (limited to 'testing/test_regress.py')
-rw-r--r--testing/test_regress.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/test_regress.py b/testing/test_regress.py
new file mode 100644
index 0000000..2f3ea7d
--- /dev/null
+++ b/testing/test_regress.py
@@ -0,0 +1,11 @@
+# Bugs found
+
+import re
+
+import abdl
+
+import pytest
+
+def test_unexpected_after_subvalue():
+    with pytest.raises(abdl.exceptions.PatternError):
+        abdl.compile("();")