      try expect(result) == "here"
    }
  }

  func testSyntaxError() {
    it("reports syntax error on invalid for tag syntax") {
      self.template = "Hello {% for name in %}{{ name }}, {% endfor %}!"
      try self.expectError(
        reason: "'for' statements should use the syntax: `for <x> in <y> [where <condition>]`.",
        token: "for name in"
      )
    }