File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
test/RulesEngine.UnitTest
RuleExpressionParserTests Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public void TestExpressionWithJObject()
4848 [ Fact ]
4949 public void CachingLiteralsDictionary ( )
5050 {
51- var board = new { NumberOfMembers = default ( decimal ? ) } ;
51+ var board = new { NumberOfMembers = default ( double ? ) } ;
5252
5353 var parameters = new RuleParameter [ ] {
5454 RuleParameter . Create ( "Board" , board )
Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ public void GetTypedObject_Anonymous_dynamicObject()
5252 Assert . IsNotType < ExpandoObject > ( typedobj ) ;
5353 Assert . NotNull ( typedobj . GetType ( ) . GetProperty ( "L" ) ) ;
5454 Assert . NotNull ( typedobj . GetType ( ) . GetProperty ( "W" ) ) ;
55- Assert . NotNull ( typedobj . GetType ( ) . GetProperty ( "Item" , BindingFlags . DeclaredOnly | BindingFlags . Public | BindingFlags . Instance ) ) ;
56- Assert . Throws < AmbiguousMatchException > ( ( ) => typedobj . GetType ( ) . GetProperty ( "Item" ) ) ;
55+ Assert . NotNull ( typedobj . GetType ( ) . GetProperty ( "Item" ) ) ;
5756 }
5857
5958 [ Fact ]
You can’t perform that action at this time.
0 commit comments