Skip to content

TCK: inline/no-markup/single-word — インライン解析モード(type="inline")の未実装 #150

@aetos382

Description

@aetos382

TCK テスト

tests/inline/no-markup/single-word

入力

hello

入力 JSON の type フィールドが "inline" の場合。

期待される出力

[
  {
    "name": "text",
    "type": "string",
    "value": "hello",
    "location": [{ "line": 1, "col": 1 }, { "line": 1, "col": 5 }]
  }
]

実際の出力

{ "name": "document", "blocks": [ ... ], "type": "block", ... }

問題

TCK アダプターへの入力の type"inline" の場合、インライン要素の配列を返す必要があるが、現在は常にドキュメント全体の ASG を返している。

インライン解析モードの実装が必要:

  • 入力 type = "inline" を検出し、インライン パーサーを呼び出す
  • 結果としてインライン要素の配列(JSON array)を返す

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtckTCK (Technology Compatibility Kit) test failure

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions