Move JSON, CSV and the Table serialization half of the frozen module to their unique source authority. Value operations now live only in std-collections; there is no second implementation or legacy forwarder. Baseline JSON/CSV and Table GFM expectations are carried into component cases. Refs cflmy/marqdo#9, cflmy/marqdo-std-data#1
103 lines
1.9 KiB
JSON
103 lines
1.9 KiB
JSON
{
|
|
"schema": "marqdo.stdlib-test-case",
|
|
"schema_version": 1,
|
|
"name": "csv",
|
|
"file": "csv.mq.md",
|
|
"require_module": "data/csv.mq.md",
|
|
"args": [],
|
|
"stdin": "",
|
|
"env": {},
|
|
"expected_stdout": "",
|
|
"expected_terminal": {
|
|
"items": [
|
|
{
|
|
"items": [
|
|
{
|
|
"type": "text",
|
|
"value": "甲"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "乙,丙"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "说\"好"
|
|
}
|
|
],
|
|
"type": "list"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "甲,\"乙,丙\",\"说\"\"好\""
|
|
},
|
|
{
|
|
"items": [
|
|
{
|
|
"type": "text",
|
|
"value": ""
|
|
}
|
|
],
|
|
"type": "list"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "csv.unterminated_quote"
|
|
},
|
|
{
|
|
"items": [
|
|
{
|
|
"type": "text",
|
|
"value": "a"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "b"
|
|
}
|
|
],
|
|
"type": "list"
|
|
},
|
|
{
|
|
"type": "bool",
|
|
"value": true
|
|
},
|
|
{
|
|
"items": [
|
|
{
|
|
"items": [
|
|
{
|
|
"type": "text",
|
|
"value": "甲"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "乙,丙"
|
|
}
|
|
],
|
|
"type": "list"
|
|
},
|
|
{
|
|
"items": [
|
|
{
|
|
"type": "text",
|
|
"value": "说\"好"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"type": "list"
|
|
}
|
|
],
|
|
"type": "list"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "甲,\"乙,丙\"\n\"说\"\"好\",2"
|
|
}
|
|
],
|
|
"type": "list"
|
|
}
|
|
}
|