Skip to content

Commit 9ea86fb

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

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

test/no-doubled-conjunction.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ tester.run("no-doubled-conjunction", rule, {
5151
index: 53
5252
}
5353
]
54-
}
54+
},
55+
{
56+
text: `1行目。
57+
58+
そして朝起きた。昼は仕事をした。そして夜に寝た。
59+
60+
5行目。`,
61+
errors: [
62+
{
63+
message: `同じ接続詞(そして)が連続して使われています。`,
64+
line: 3,
65+
column: 17
66+
}
67+
]
68+
},
5569
]
5670
});

0 commit comments

Comments
 (0)