MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / test_sequence_item

Function test_sequence_item

tests/yaml_rewrite_test.py:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44
45def test_sequence_item():
46 ret = [n.value for n in SequenceItem().match(yaml_compose('[a, b, c]'))]
47 assert ret == ['a', 'b', 'c']

Callers

nothing calls this directly

Calls 2

SequenceItemClass · 0.90
matchMethod · 0.45

Tested by

no test coverage detected