Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Expressions
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv5209
Modified Files:
ExpressionEvaluatorTests.cs
Log Message:
SPRNET-683, SPRNET-712
Index: ExpressionEvaluatorTests.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Expressions/ExpressionEvaluatorTests.cs,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** ExpressionEvaluatorTests.cs 23 Aug 2007 23:31:06 -0000 1.65
--- ExpressionEvaluatorTests.cs 24 Aug 2007 22:44:26 -0000 1.66
***************
*** 2248,2252 ****
// case #root != #this in Projection - ToString() will be applied to #this
! exp = Expression.Parse("(#noop ={|val| $val}; !{#noop(ToString()) } )");
result = exp.GetValue(new int[] { 100, 200 }, new Hashtable());
Assert.AreEqual(new string[] { "100", "200" }, result);
--- 2248,2252 ----
// case #root != #this in Projection - ToString() will be applied to #this
! exp = Expression.Parse("(ToString(); #noop ={|val| $val}; !{#noop(ToString()) } )");
result = exp.GetValue(new int[] { 100, 200 }, new Hashtable());
Assert.AreEqual(new string[] { "100", "200" }, result);
|