From 95623d39d6029ba78ec96ad5ea08e9ac12629b91 Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Mon, 3 Aug 2020 18:43:13 -0300 Subject: New upstream version 2.11 --- test/t/test_cd.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/t/test_cd.py') diff --git a/test/t/test_cd.py b/test/t/test_cd.py index fd532312..5b7789ae 100644 --- a/test/t/test_cd.py +++ b/test/t/test_cd.py @@ -9,7 +9,7 @@ class TestCd: @pytest.mark.complete("cd fo", env=dict(CDPATH="shared/default")) def test_2(self, completion): - assert completion == "foo.d/" + assert completion == "o.d/" @pytest.mark.complete("cd fo") def test_3(self, completion): @@ -20,3 +20,7 @@ class TestCd: ) def test_4(self, completion): assert not completion # No subdirs nor CDPATH + + @pytest.mark.complete("cd shared/default/", trail="foo") + def test_dir_at_point(self, completion): + assert completion == ["bar bar.d/", "foo.d/"] -- cgit v1.2.1