Skip to content

Commit 3e28e96

Browse files
committed
test: 全角コロンで区切る場合のテストケースを追加
1 parent 042deaf commit 3e28e96

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/rules/no-ai-list-formatting.test.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,17 @@ tester.run("no-ai-list-formatting", noAiListFormatting, {
175175
range: [2, 4]
176176
}
177177
]
178+
},
179+
// Full-width colon
180+
{
181+
text: "- **重要情報**:これは重要な項目です",
182+
errors: [
183+
{
184+
message:
185+
"リストアイテムで強調(**)とコロン(:)の組み合わせは機械的な印象を与える可能性があります。より自然な表現を検討してください。",
186+
range: [0, 9]
187+
}
188+
]
178189
}
179190
]
180191
});

0 commit comments

Comments
 (0)