Update user test case

This commit is contained in:
sunkaixuan 2024-03-06 22:30:11 +08:00
parent 48d32cf066
commit 44bf60c3f1
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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");