From 9c99b76ce0202e53b5e79b7716ce1366e2aca0de Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 14 Jun 2019 20:37:08 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0GiteeController?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnitTest/Bootstrap.Admin/Api/GiteeTest.cs | 6 ++++++ 1 file changed, 6 insertions(+) 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 ""; }) }); }