MCPcopy Create free account
hub / github.com/idank/explainshell / test_no_options

Method test_no_options

tests/extraction/test_postprocess.py:238–241  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

236 assert len(result) == 2
237
238 def test_no_options(self) -> None:
239 result, removed = dedup_options([])
240 assert removed == 0
241 assert result == []
242
243 def test_single_option(self) -> None:
244 opt = _opt("desc", short=["-a"])

Callers

nothing calls this directly

Calls 1

dedup_optionsFunction · 0.90

Tested by

no test coverage detected