summary refs log tree commit diff stats
path: root/testing/test_regress.py
diff options
context:
space:
mode:
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("();")