{
  "schema": "https://bars.commonsware.com/conformance/schema/render-fixture.schema.json",
  "version": "0.1.0",
  "cases": [
    {
      "name": "lstrip-leading-spaces",
      "spotlight": true,
      "description": "Leading ASCII whitespace is removed; trailing whitespace is preserved.",
      "template": "[{{ phrase | lstrip }}]",
      "context": {
        "phrase": "   hello  "
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "[hello  ]"
      }
    },
    {
      "name": "lstrip-only-whitespace",
      "description": "An all-whitespace string becomes empty.",
      "template": "[{{ phrase | lstrip }}]",
      "context": {
        "phrase": "    "
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "[]"
      }
    },
    {
      "name": "lstrip-newlines-and-tabs",
      "description": "Leading tabs and newlines are removed.",
      "template": "[{{ phrase | lstrip }}]",
      "context": {
        "phrase": "\n\t hello"
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "[hello]"
      }
    },
    {
      "name": "lstrip-empty-string",
      "description": "Empty input stays empty.",
      "template": "[{{ phrase | lstrip }}]",
      "context": {
        "phrase": ""
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "[]"
      }
    },
    {
      "name": "lstrip-with-arg-is-error",
      "description": "Any argument is an arity error.",
      "template": "{{ phrase | lstrip: \"x\" }}",
      "context": {
        "phrase": "hi"
      },
      "expect": {
        "kind": "error",
        "errorCode": "KB-2002"
      }
    },
    {
      "name": "lstrip-chained-after-downcase",
      "spotlight": true,
      "description": "Composes with another transform.",
      "template": "[{{ phrase | downcase | lstrip }}]",
      "context": {
        "phrase": "   HELLO"
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "[hello]"
      }
    }
  ]
}
