Skip to content

Commit ebf8f31

Browse files
committed
ci: add more tests
1 parent e48cb23 commit ebf8f31

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

tests/moran.test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ deploy:
3434
assert: eq(cand[1].text, "霖")
3535
- send: hodd
3636
assert: eq(cand[1].text, "火")
37+
- send: N2000
38+
assert: eq(cand[1].text, "2000年01月01日")
39+
- send: U8888
40+
assert: eq(cand[1].text, '袈')
41+
- send: S114514
42+
assert: eq(cand[1].text, '十一万四千五百一十四')
3743

3844
emoji:
3945
options:
@@ -125,6 +131,10 @@ deploy:
125131
assert: eq(cand[1].text, '連接') and eq(cand[1].comment, "📌")
126132
- send: 'xad//xnraidg 2 xad'
127133
assert: eq(cand[1].text, '信愛等')
134+
- send: 'a{Control+t}{Down}{Control+t}{Control+equal}'
135+
assert: eq(cand[1].text, '啊') and eq(cand[2].text, '愛') and eq(cand[1].comment, "📌") and eq(cand[2].comment, "📌")
136+
- send: 'ai{Control+t}{Down}{Control+t}{Down}{Control+minus}'
137+
assert: eq(cand[1].text, '愛') and eq(cand[2].text, '唉') and eq(cand[1].comment, "📌") and eq(cand[2].comment, "📌")
128138

129139
force_segmentation:
130140
tests:

0 commit comments

Comments
 (0)