summaryrefslogtreecommitdiffstats
path: root/test/t/test_cat.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_cat.py')
-rw-r--r--test/t/test_cat.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/t/test_cat.py b/test/t/test_cat.py
new file mode 100644
index 0000000..5fa4c8f
--- /dev/null
+++ b/test/t/test_cat.py
@@ -0,0 +1,11 @@
+import pytest
+
+
+class TestCat:
+ @pytest.mark.complete("cat ")
+ def test_1(self, completion):
+ assert completion
+
+ @pytest.mark.complete("cat -", require_longopt=True)
+ def test_options(self, completion):
+ assert completion