diff --git a/UnitTest/Bootstrap.Admin/Api/GiteeTest.cs b/UnitTest/Bootstrap.Admin/Api/GiteeTest.cs index 013721e7..3aab9279 100644 --- a/UnitTest/Bootstrap.Admin/Api/GiteeTest.cs +++ b/UnitTest/Bootstrap.Admin/Api/GiteeTest.cs @@ -48,12 +48,18 @@ namespace Bootstrap.Admin.Api new Func>(() => { throw new TaskCanceledException(); + }), + new Func(content => { + return ""; }) }); t.Invoke(null, new object[] { new Func>(()=> { throw new Exception(); + }), + new Func(content => { + return ""; }) }); }