From bc796567842edae877350ab98097999cb234a09d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Sun, 24 Nov 2024 15:39:38 +0100 Subject: [PATCH] test: fixed readline completions test --- tests/test_readline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_readline.py b/tests/test_readline.py index 04b6554c..39b5ab22 100644 --- a/tests/test_readline.py +++ b/tests/test_readline.py @@ -16,11 +16,11 @@ def test_matches(): assert ".git/" in _matches("") assert _matches(".githu") == [".github/"] assert _matches(".github") == [".github/"] - assert set(_matches(".github/")) == { + assert { ".github/workflows/", ".github/actions/", ".github/codecov.yml", - } + } <= set(_matches(".github/")) # files assert _matches("README") == ["README.md"]