{
  "schema": "https://bars.commonsware.com/conformance/schema/render-fixture.schema.json",
  "version": "0.1.0",
  "cases": [
    {
      "name": "deep-nested-each-renders",
      "description": "10 levels of nested {{#each this }} blocks over singleton arrays render the innermost leaf value without stack overflow or truncation.",
      "template": "{{#each this }}{{#each this }}{{#each this }}{{#each this }}{{#each this }}{{#each this }}{{#each this }}{{#each this }}{{#each this }}{{#each this }}{{ this }}{{/each}}{{/each}}{{/each}}{{/each}}{{/each}}{{/each}}{{/each}}{{/each}}{{/each}}{{/each}}",
      "context": {
        "root": [
          [
            [
              [
                [
                  [
                    [
                      [
                        [
                          "leaf-value"
                        ]
                      ]
                    ]
                  ]
                ]
              ]
            ]
          ]
        ]
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "leaf-value"
      }
    },
    {
      "name": "deep-nested-if-renders",
      "description": "10 levels of nested {{#if flag }} blocks, all conditions true, render the innermost leaf text without stack overflow or truncation.",
      "template": "{{#if flag }}{{#if flag }}{{#if flag }}{{#if flag }}{{#if flag }}{{#if flag }}{{#if flag }}{{#if flag }}{{#if flag }}{{#if flag }}leaf-text{{/if}}{{/if}}{{/if}}{{/if}}{{/if}}{{/if}}{{/if}}{{/if}}{{/if}}{{/if}}",
      "context": {
        "flag": true
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "leaf-text"
      }
    }
  ]
}
