Add unit test

This commit is contained in:
sunkaixuan 2022-10-13 00:16:23 +08:00
parent 53c58f7c08
commit b278445055

View File

@ -62,7 +62,11 @@ namespace OrmTest
{
throw new Exception("unit error");
}
var list3 = db.Queryable<Tree>().Select<Tree2>().ToChildList(it => it.ParentId, 1);
if (list3.Count != 3)
{
throw new Exception("unit error");
}
}