diff --git a/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/UnitTest/Unitdsfadfayss.cs b/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/UnitTest/Unitdsfadfayss.cs index f1f01a9f0..70f430031 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/UnitTest/Unitdsfadfayss.cs +++ b/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/UnitTest/Unitdsfadfayss.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Linq.Expressions; using System.Net.Mime; using System.Threading.Tasks; @@ -61,7 +62,7 @@ public static class Unitdfafaa .ToList(), }, true) .ToListAsync(); - + if (!result.First().Subs.Any()) throw new Exception("unit error"); Console.WriteLine(JsonConvert.SerializeObject(result)); }