From f2621414ee5f2f601424c22f00e207903e3b6104 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:03:18 +0200 Subject: Merging upstream version 1:2.12.0. Signed-off-by: Daniel Baumann --- test/t/test_alias.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/t/test_alias.py') diff --git a/test/t/test_alias.py b/test/t/test_alias.py index cc592a8..0a9eb3b 100644 --- a/test/t/test_alias.py +++ b/test/t/test_alias.py @@ -19,3 +19,11 @@ class TestAlias: @pytest.mark.complete("alias ", trail="foo") def test_alias_at_point(self, completion): assert completion == "bar foo".split() + + @pytest.mark.complete("alias -") + def test_options(self, completion): + assert completion + + @pytest.mark.complete("alias -p ") + def test_p(self, completion): + assert not completion -- cgit v1.2.3