function-test: fix error introduced by last commit

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