Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
45
def
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
SequenceItem
Class · 0.90
match
Method · 0.45
Tested by
no test coverage detected