update 对“我”的兼容

This commit is contained in:
PASSER-BY
2021-11-28 22:28:22 +08:00
parent f7ba7d9c77
commit 81770c9720
3 changed files with 9 additions and 8 deletions

View File

@@ -24,6 +24,7 @@ test('relationship.js show to be tested', function (t) {
t.deepEqual(relationship({text:'老公的父母',target:'孩子'}),['爷爷','奶奶']);
t.deepEqual(relationship({text:'爸爸的哥哥的弟弟的儿子'}),['堂哥','堂弟','兄弟','自己']);
t.deepEqual(relationship({text:'外婆',target:'女婿',reverse:true}),['外曾孙女婿','外曾外孙女婿']);
t.deepEqual(relationship({text:'我',target:'爸爸'}),['儿子','女儿']);
t.end();
});