updated 女婿称呼bug修复

This commit is contained in:
PASSER-BY
2021-11-27 08:07:06 +08:00
parent 6bc22e041a
commit f7ba7d9c77
3 changed files with 13 additions and 5 deletions

View File

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