Skip to content

Commit 58f4e9c

Browse files
committed
test: add test case
1 parent 9ea86fb commit 58f4e9c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/no-doubled-conjunction.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ tester.run("no-doubled-conjunction", rule, {
5252
}
5353
]
5454
},
55+
{
56+
text: `1行目。\nそして朝起きた。昼は仕事をした。そして夜に寝た。`,
57+
errors: [
58+
{
59+
message: `同じ接続詞(そして)が連続して使われています。`,
60+
line: 2,
61+
column: 17
62+
}
63+
]
64+
},
5565
{
5666
text: `1行目。
5767

0 commit comments

Comments
 (0)