Skip to content

Commit

Permalink
test: fixed tabcomplete test in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 31, 2023
1 parent fa7d409 commit 9ac4fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tabcomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_matches():
assert _matches("./README") == ["README.md"]
assert _matches("../gptme/README") == ["../gptme/README.md"]
if sys.platform != "win32":
assert _matches("/etc/pass") == ["/etc/passwd"]
assert "/etc/passwd" in _matches("/etc/pass")

# commands
assert _matches("/hel") == ["/help"]

0 comments on commit 9ac4fa0

Please sign in to comment.