We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fbfb8 commit be1590aCopy full SHA for be1590a
tests/test_tldr.py
@@ -147,12 +147,12 @@ def test_get_commands(monkeypatch, tmp_path):
147
result = tldr.get_commands(platforms=["linux"])
148
149
assert isinstance(result, list)
150
- assert "lspci (en)" in result
+ assert "lspci" in result
151
152
cache_zh = tmp_path / ".cache" / "tldr" / "pages.zh" / "linux"
153
Path.mkdir(cache_zh, parents=True)
154
Path.touch(cache_zh / "lspci.md")
155
156
result = tldr.get_commands(platforms=["linux"], language=["zh_CN"])
157
158
- assert "lspci (zh)" in result
0 commit comments