function-test: 修正测试用例

Signed-off-by: May <sirhuntthepure@users.noreply.github.com>