-
Notifications
You must be signed in to change notification settings - Fork 0
TCK: block/paragraph/paragraph-empty-lines-paragraph — 複数の空行で区切られたパラグラフの ASG 出力の不一致 #155
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingtckTCK (Technology Compatibility Kit) test failureTCK (Technology Compatibility Kit) test failure
Description
TCK テスト
tests/block/paragraph/paragraph-empty-lines-paragraph
入力
This document has multiple paragraphs.
Paragraphs are separated by one or more empty lines.(パラグラフ間に 2 行の空行)
期待される出力
{
"name": "document",
"type": "block",
"blocks": [
{
"name": "paragraph",
"type": "block",
"inlines": [
{
"name": "text",
"type": "string",
"value": "This document has multiple paragraphs.",
"location": [{ "line": 1, "col": 1 }, { "line": 1, "col": 38 }]
}
],
"location": [{ "line": 1, "col": 1 }, { "line": 1, "col": 38 }]
},
{
"name": "paragraph",
"type": "block",
"inlines": [
{
"name": "text",
"type": "string",
"value": "Paragraphs are separated by one or more empty lines.",
"location": [{ "line": 4, "col": 1 }, { "line": 4, "col": 52 }]
}
],
"location": [{ "line": 4, "col": 1 }, { "line": 4, "col": 52 }]
}
],
"location": [{ "line": 1, "col": 1 }, { "line": 4, "col": 52 }]
}問題
2 行以上の空行(複数の空行)でパラグラフが区切られた場合に、2 つのパラグラフが正しく ASG に出力されていない可能性がある。#154(1 行の空行)と同様の問題で、空行の数が異なるケース。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtckTCK (Technology Compatibility Kit) test failureTCK (Technology Compatibility Kit) test failure