MCPcopy Create free account
hub / github.com/Lap-Platform/LAP / test_simple_fields

Method test_simple_fields

tests/test_parser.py:31–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 assert _split_top_level('a, b, c') == ['a, b, c']
30
31 def test_simple_fields(self):
32 assert _split_top_level('a: str, b: int, c: bool') == ['a: str', 'b: int', 'c: bool']
33
34 def test_nested_braces(self):
35 result = _split_top_level('a: map{x: str, y: int}, b: str')

Callers

nothing calls this directly

Calls 1

_split_top_levelFunction · 0.90

Tested by

no test coverage detected