Move the official stdlib IO modules to their unique source authority and keep the frozen public paths, including io.mq.md#写值 as the official print/打印 alias target. Carry the pre-migration product assertions into component cases with real resource-endpoint evidence for console. Refs cflmy/marqdo#9, cflmy/marqdo-std-io#1
33 lines
551 B
JSON
33 lines
551 B
JSON
{
|
|
"schema": "marqdo.stdlib-test-case",
|
|
"schema_version": 1,
|
|
"name": "console",
|
|
"file": "console.mq.md",
|
|
"require_module": "io/console.mq.md",
|
|
"args": [],
|
|
"stdin": "hello\n",
|
|
"env": {},
|
|
"expected_stdout": "",
|
|
"expected_terminal": {
|
|
"items": [
|
|
{
|
|
"type": "bool",
|
|
"value": true
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "hello"
|
|
}
|
|
],
|
|
"type": "list"
|
|
},
|
|
"event_checks": [
|
|
{
|
|
"kind": "effect",
|
|
"payload": {
|
|
"operation": "resource.read"
|
|
}
|
|
}
|
|
]
|
|
}
|