summaryrefslogtreecommitdiff
path: root/test/t/test_alias.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_alias.py')
-rw-r--r--test/t/test_alias.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/test_alias.py b/test/t/test_alias.py
index da9ecc33..cc592a8c 100644
--- a/test/t/test_alias.py
+++ b/test/t/test_alias.py
@@ -15,3 +15,7 @@ class TestAlias:
def test_2(self, completion):
assert completion == "foo='bar'"
assert not completion.endswith(" ")
+
+ @pytest.mark.complete("alias ", trail="foo")
+ def test_alias_at_point(self, completion):
+ assert completion == "bar foo".split()