Skip to content

Commit fdaff41

Browse files
committed
test(1.1.1): add test case
close #18
1 parent a443b6a commit fdaff41

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/1.1.1-test.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ tester.run("1.1.1.本文", rule, {
4444
}
4545
]
4646
},
47+
// 改行なしで混ざってる時
48+
{
49+
text: `今日はいい天気ですね。今日はいい天気である。`,
50+
errors: [
51+
{
52+
message: '本文を敬体(ですます調)に統一して下さい。\n本文の文体は、敬体(ですます調)あるいは常体(である調)のどちらかで統一します。\n"である。"が常体(である調)です。',
53+
line: 1,
54+
column: 19
55+
}
56+
]
57+
},
4758
// 文末が混在してるとreportされる
4859
{
4960
text: `今日はいい天気ですね。

0 commit comments

Comments
 (0)