test can print error: t.Error

Signed-off-by: eggfly <lihaohua90@gmail.com>