mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update user test case
This commit is contained in:
parent
48d32cf066
commit
44bf60c3f1
@ -20,7 +20,7 @@ namespace OrmTest
|
||||
var x5 = db.Queryable<Order>().Select(it => DateTime.Now.DayOfWeek.ToString() ).ToList();
|
||||
if (x1.Any())
|
||||
{
|
||||
Check.Exception(x1.First()!=365, "unit error . UCustom011");
|
||||
Check.Exception(x1.First()!=365&& x1.First() != 366, "unit error . UCustom011");
|
||||
Check.Exception(x2.First() != 24, "unit error . UCustom011");
|
||||
Check.Exception(x3.First() != 60, "unit error . UCustom011");
|
||||
Check.Exception(!(x4.First() >=60&& x4.First() <= 61), "unit error . UCustom011");
|
||||
|
@ -20,7 +20,7 @@ namespace OrmTest
|
||||
var x5 = db.Queryable<Order>().Select(it =>DateTime.Now.DayOfWeek.ToString()).ToList();
|
||||
if (x1.Any())
|
||||
{
|
||||
Check.Exception(x1.First()!=365, "unit error . UCustom011");
|
||||
Check.Exception(x1.First()!=365&& x1.First() != 366, "unit error . UCustom011");
|
||||
Check.Exception(x2.First() != 24, "unit error . UCustom011");
|
||||
Check.Exception(x3.First() != 60, "unit error . UCustom011");
|
||||
Check.Exception(!(x4.First() >=60&& x4.First() <= 61), "unit error . UCustom011");
|
||||
|
Loading…
Reference in New Issue
Block a user