Skip to content

Commit be1590a

Browse files
authored
Update test_tldr.py
1 parent f1fbfb8 commit be1590a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_tldr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ def test_get_commands(monkeypatch, tmp_path):
147147
result = tldr.get_commands(platforms=["linux"])
148148

149149
assert isinstance(result, list)
150-
assert "lspci (en)" in result
150+
assert "lspci" in result
151151

152152
cache_zh = tmp_path / ".cache" / "tldr" / "pages.zh" / "linux"
153153
Path.mkdir(cache_zh, parents=True)
154154
Path.touch(cache_zh / "lspci.md")
155155

156156
result = tldr.get_commands(platforms=["linux"], language=["zh_CN"])
157157

158-
assert "lspci (zh)" in result
158+
assert "lspci" in result

0 commit comments

Comments
 (0)