* fix issue 1029 * add test case * fix check diff Co-authored-by: 王易可 <wangyike@B-V1QHML7L-1909.local>