{
  "schema": "https://bars.commonsware.com/conformance/schema/env-property-fixture.schema.json",
  "version": "0.1.0",
  "cases": [
    {
      "name": "assign-local-read",
      "description": "A @local assignment is readable as @local/name.",
      "template": "{{= @local/t = \"Lo\" }}{{ @local/t }}",
      "expect": {
        "kind": "output",
        "expectedOutput": "Lo"
      }
    },
    {
      "name": "assign-local-visible-in-nested-with",
      "description": "A @local assignment is visible inside a nested #with block.",
      "template": "{{= @local/t = \"Lo\" }}{{#with inner }}{{ @local/t }}{{/with}}",
      "context": {
        "inner": {
          "z": "Z"
        }
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "Lo"
      }
    },
    {
      "name": "assign-local-dropped-after-with",
      "description": "A @local assignment made inside #with is gone after the block.",
      "template": "{{#with inner }}{{= @local/t = \"Lo\" }}{{/with}}{{ @local/t }}",
      "context": {
        "inner": {
          "z": "Z"
        }
      },
      "expect": {
        "kind": "output",
        "expectedOutput": ""
      }
    },
    {
      "name": "assign-local-not-surviving-each",
      "description": "A @local assignment inside #each does not survive the iteration.",
      "template": "{{#each items }}{{= @local/x = this }}{{/each}}{{ @local/x }}",
      "context": {
        "items": [
          "a",
          "b",
          "c"
        ]
      },
      "expect": {
        "kind": "output",
        "expectedOutput": ""
      }
    },
    {
      "name": "assign-local-missing-empty",
      "description": "An unbound @local read renders empty.",
      "template": "{{ @local/nope }}",
      "expect": {
        "kind": "output",
        "expectedOutput": ""
      }
    }
  ]
}
