Skip to content

Commit c662178

Browse files
committed
test: 更新单元测试
1 parent c49cfb9 commit c662178

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/UnitTest/Extensions/LambadaExtensionsTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ public void GetExpression_Contains()
244244
var filter = new FilterKeyValueAction() { FieldKey = "Name", FieldValue = "test", FilterAction = FilterAction.Contains };
245245
var invoker = filter.GetFilterLambda<Foo>().Compile();
246246
Assert.True(invoker.Invoke(new Foo() { Name = "1test1" }));
247+
Assert.True(invoker.Invoke(new Foo() { Name = "1Test1" }));
248+
Assert.True(invoker.Invoke(new Foo() { Name = "1Test123" }));
249+
Assert.True(invoker.Invoke(new Foo() { Name = "Test" }));
250+
Assert.True(invoker.Invoke(new Foo() { Name = "Test2" }));
247251
}
248252

249253
[Fact]

0 commit comments

Comments
 (0)