summaryrefslogtreecommitdiffstats
path: root/test/t/test_complete.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_complete.py')
-rw-r--r--test/t/test_complete.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/t/test_complete.py b/test/t/test_complete.py
new file mode 100644
index 0000000..7ff56b4
--- /dev/null
+++ b/test/t/test_complete.py
@@ -0,0 +1,11 @@
+import pytest
+
+
+class TestComplete:
+ @pytest.mark.complete("complete -")
+ def test_1(self, completion):
+ assert completion
+
+ @pytest.mark.complete(r"\complete -")
+ def test_2(self, completion):
+ assert completion