{
  "schema": "https://bars.commonsware.com/conformance/schema/partials-fixture.schema.json",
  "version": "0.1.0",
  "cases": [
    {
      "name": "partial-trim-both-strips-surrounding-template-text",
      "description": "~ on both sides of a {{> key }} tag strips whitespace from the surrounding template text of the *referencing* template. The partial's own rendered content is untouched.",
      "template": "before  {{~> who ~}}  after",
      "partials": {
        "who": "X"
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "beforeXafter"
      }
    },
    {
      "name": "standalone-partial-strips-surrounding-template-text-without-tilde",
      "description": "A {{> key }} tag alone on its own line has the referencing template's surrounding indentation and newline stripped implicitly, with no ~ marker, and the captured indentation is re-applied to the partial's own rendered content (a single line here).",
      "template": "before\n  {{> who }}\nafter",
      "partials": {
        "who": "X"
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "before\n  Xafter"
      }
    }
  ]
}
