Files

39 lines
1.1 KiB
JSON

[
{
"name": "basic token - item",
"raw": ["a_b-c.d3:f%00/*"],
"header_type": "item",
"expected": [{"__type": "token", "value": "a_b-c.d3:f%00/*"}, {}]
},
{
"name": "token with capitals - item",
"raw": ["fooBar"],
"header_type": "item",
"expected": [{"__type": "token", "value": "fooBar"}, {}]
},
{
"name": "token starting with capitals - item",
"raw": ["FooBar"],
"header_type": "item",
"expected": [{"__type": "token", "value": "FooBar"}, {}]
},
{
"name": "basic token - list",
"raw": ["a_b-c3/*"],
"header_type": "list",
"expected": [[{"__type": "token", "value": "a_b-c3/*"}, {}]]
},
{
"name": "token with capitals - list",
"raw": ["fooBar"],
"header_type": "list",
"expected": [[{"__type": "token", "value": "fooBar"}, {}]]
},
{
"name": "token starting with capitals - list",
"raw": ["FooBar"],
"header_type": "list",
"expected": [[{"__type": "token", "value": "FooBar"}, {}]]
}
]