{
  "schema": "https://bars.commonsware.com/conformance/schema/partials-fixture.schema.json",
  "version": "0.1.0",
  "cases": [
    {
      "name": "partial-block-bare-close-renders-fallback-on-miss",
      "description": "The bare {{/>}} close form, with no name, closes the currently-open partial block with no name validation.",
      "template": "{{#> myPartial }}Failover{{/>}}",
      "partials": {},
      "expect": {
        "kind": "output",
        "expectedOutput": "Failover"
      }
    },
    {
      "name": "partial-block-matching-named-close-renders-identically-to-the-bare-close",
      "description": "A named close whose name equals the open key is accepted and produces exactly the same output as the bare close form.",
      "template": "{{#> myPartial }}Failover{{/> myPartial }}",
      "partials": {},
      "expect": {
        "kind": "output",
        "expectedOutput": "Failover"
      }
    },
    {
      "name": "partial-block-standalone-opener-and-closer-lines-are-stripped",
      "description": "A {{#> }} opener and {{/>}} closer each alone on their own line (only surrounding whitespace) have that line's leading indentation and trailing newline stripped, exactly like a standalone #with block; the fallback body's own text is left untouched.",
      "template": "before\n  {{#> myPartial }}\n  Failover\n  {{/>}}\nafter",
      "partials": {},
      "expect": {
        "kind": "output",
        "expectedOutput": "before\n  Failover\nafter"
      }
    },
    {
      "name": "tilde-trim-on-partial-block-tags-strips-surrounding-and-inner-whitespace",
      "description": "~ on a {{#> }}/{{/>}} tag pair strips whitespace from the surrounding template text (outside the block) and from the fallback body's own leading/trailing text (inside the block), exactly like the equivalent {{#with}} trim behavior.",
      "template": "before  {{~#> myPartial ~}}  Failover  {{~/>~}}  after",
      "partials": {},
      "expect": {
        "kind": "output",
        "expectedOutput": "beforeFailoverafter"
      }
    }
  ]
}
