Files
marqdo-std-system/tests/cases/env.json
T
cflmy 053ddb0e59 migrate: own clock/datetime/env/process/random sources and baseline assertions
Move the official stdlib system modules to their unique source authority without
changing public std: paths or host authorization. Carry the pre-migration product
assertions into component cases captured from the baseline Bundle; the process
case resolves the granted program and expected stdout from the verified CLI.

Refs cflmy/marqdo#9, cflmy/marqdo-std-system#1
2026-11-26 23:30:25 +08:00

48 lines
799 B
JSON

{
"schema": "marqdo.stdlib-test-case",
"schema_version": 1,
"name": "env",
"file": "env.mq.md",
"require_module": "env.mq.md",
"args": [
"--allow-env",
"MARQDO_TEST_ENV",
"--allow-env",
"MARQDO_MISSING_ENV"
],
"stdin": "",
"env": {
"MARQDO_TEST_ENV": "env-value"
},
"expected_stdout": "",
"expected_terminal": {
"items": [
{
"type": "bool",
"value": true
},
{
"type": "bool",
"value": true
},
{
"type": "bool",
"value": true
},
{
"type": "text",
"value": "env-value"
},
{
"type": "bool",
"value": false
},
{
"type": "text",
"value": "env.not_found"
}
],
"type": "list"
}
}